/* ============================================================
   Ветклиники — каталог по макету.

   Страница: /vets. Всё оформление ниже относится только к ней
   (префикс .vcat-* и классы .vet-card/.vets-grid, которые рисует
   assets/js/vets-page.js). Общие стили шапки и подвала лежат в
   style.css и здесь не переопределяются.
   ============================================================ */

.page-vets {
  --vcat-surface: #FFFFFF;
  --vcat-panel: #FFFDFB;
  --vcat-line: #F0E3DA;
  --vcat-line-soft: #F7EDE6;
  --vcat-cream: #FDF6F0;
  --vcat-ink: #2A1A15;
  --vcat-muted: #8A7368;
  --vcat-radius: 20px;
  --vcat-shadow: 0 18px 40px -28px rgba(64, 32, 22, .45);
  --vcat-shadow-soft: 0 10px 24px -18px rgba(64, 32, 22, .35);
  background: linear-gradient(180deg, #FDF7F2 0%, #FFFDFB 42%, #FDF6F0 100%);
}

.page-vets .container {
  max-width: 1400px;
}

/* ---------- Первый экран ---------- */

.vcat-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 34px;
}

.vcat-hero::after {
  /* Мягкое пятно справа — как на макете: фон не плоский, но и не мешает тексту */
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(227, 18, 76, .07), transparent 62%);
  pointer-events: none;
}

.vcat-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 1.34fr) minmax(0, 1.02fr) minmax(292px, .74fr);
  align-items: center;
  gap: 0;
}

.vcat-hero__text {
  padding-right: 26px;
}

.vcat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--vcat-line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--vcat-shadow-soft);
}

.vcat-kicker .ico {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.vcat-h1 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 2.9vw, 41px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--vcat-ink);
  max-width: 18ch;
}

.vcat-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.vcat-hero__media {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  border-radius: 26px 26px 26px 86px;
  overflow: hidden;
  box-shadow: var(--vcat-shadow);
}

.vcat-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 42%;
  display: block;
}

.vcat-feats {
  position: relative;
  z-index: 2;
  /* Карточка преимуществ стоит справа и чуть заходит на фотографию —
     так же, как на макете: край снимка уходит под неё. */
  justify-self: stretch;
  align-self: center;
  margin: 0 0 0 -54px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(6px);
  border: 1px solid var(--vcat-line);
  border-radius: 22px;
  padding: 18px 20px 14px;
  box-shadow: var(--vcat-shadow);
}

.vcat-feats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.vcat-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.vcat-feats__ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #FFF3F7;
  color: var(--brand);
  border: 1px solid var(--brand-line);
}

.vcat-feats__ico .ico {
  width: 17px;
  height: 17px;
}

.vcat-hand {
  margin: 10px 0 0;
  padding-top: 8px;
  text-align: right;
  font-size: 15px;
  line-height: 1.3;
  color: #C2547A;
  font-style: italic;
  font-weight: 500;
}

/* ---------- Поиск и фильтры ---------- */

.vcat-panel {
  position: relative;
  z-index: 3;
  margin: -6px 0 0;
  background: var(--vcat-surface);
  border: 1px solid var(--vcat-line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--vcat-shadow);
}

.vcat-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr) auto;
  gap: 12px;
  align-items: center;
}

.vcat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--vcat-line);
  border-radius: 999px;
  background: #fff;
  min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}

.vcat-input:focus-within {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 4px rgba(227, 18, 76, .07);
}

.vcat-input .ico {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--vcat-muted);
}

.vcat-input input,
.vcat-input select {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  appearance: none;
}

.vcat-input select {
  cursor: pointer;
  padding-right: 18px;
}

.vcat-input--select {
  position: relative;
}

.vcat-input--select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--vcat-muted);
  border-bottom: 2px solid var(--vcat-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.vcat-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 22px -14px rgba(227, 18, 76, .85);
  transition: transform .15s, box-shadow .15s;
}

.vcat-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px -14px rgba(227, 18, 76, .9);
}

.vcat-submit .ico {
  width: 17px;
  height: 17px;
}

/* Второй ряд панели: чипы-переключатели и выпадающие списки */
.vcat-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.vcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--vcat-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}

.vcat-chip .ico {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.vcat-chip:hover {
  border-color: var(--brand-line);
}

.vcat-chip.is-on {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark);
}

.vcat-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 136px;
  height: 42px;
  padding: 0 32px 0 13px;
  border: 1px solid var(--vcat-line);
  border-radius: 999px;
  background: #fff;
}

.vcat-select .ico {
  width: 15px;
  height: 15px;
  color: var(--vcat-muted);
  margin-right: 9px;
  flex: none;
}

.vcat-select select {
  flex: 1 1 auto;
  width: 100%;
  max-width: 148px;
  min-width: 0;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  outline: none;
  appearance: none;
  cursor: pointer;
}

.vcat-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--vcat-muted);
  border-bottom: 2px solid var(--vcat-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Активные фильтры-таблетки */
.vcat-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.vcat-active[hidden] {
  display: none;
}

.vf-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.vf-pill b {
  font-size: 15px;
  line-height: 1;
  opacity: .65;
}

.vf-reset-link {
  height: 32px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--vcat-muted);
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Каталог ---------- */

.vcat-catalog {
  padding: 26px 0 40px;
}

.vcat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.vcat-count {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--vcat-ink);
}

.vcat-count span {
  color: var(--vcat-muted);
  font-weight: 500;
}

.vcat-view {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--vcat-line);
  border-radius: 999px;
}

.vcat-view button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--vcat-muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.vcat-view button .ico {
  width: 15px;
  height: 15px;
}

.vcat-view button.is-active {
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff;
  box-shadow: 0 10px 18px -12px rgba(227, 18, 76, .9);
}

.vcat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 18px;
  align-items: start;
}

.vets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

/* ---------- Карточка клиники ---------- */

.vet-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  /* Фиксированная высота держит ряды ровными: у клиник разное число
     статусов, и без неё соседние карточки разъезжаются по высоте. */
  min-height: 214px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--vcat-line);
  border-radius: 18px;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}

.vet-card:hover {
  border-color: var(--brand-line);
  box-shadow: var(--vcat-shadow);
  transform: translateY(-2px);
}

.vet-card.is-fav {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 3px rgba(227, 18, 76, .08);
}

.vet-card__photo {
  position: relative;
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, #FCE7EF, #FFF6F1);
}

.vet-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vets-grid .vet-card .vet-card__photo .vet-card__mark {
  position: absolute;
  inset: 0;
  /* Базовый слой задаёт плитке фиксированные 36 px — здесь она должна
     занимать весь квадрат снимка, поэтому размер задан явно. */
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(160, 22, 66, .55);
  background: linear-gradient(150deg, var(--cover-a, #FCE7EF), var(--cover-b, #FFF3EC));
}

.vet-card__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vet-card__mark span[aria-hidden] {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.vet-card__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(47, 122, 88, .92);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.vet-card__badge .ico {
  width: 11px;
  height: 11px;
}

.vet-card__body {
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 2px 2px 2px 0;
}

.vet-card__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vet-card__name {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--vcat-ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vet-card__name a {
  color: inherit;
  text-decoration: none;
}

.vet-card__name a:hover {
  color: var(--brand-dark);
}

.vet-card__check {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--brand);
}

.vet-fav {
  margin-left: auto;
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #D9C6BC;
  cursor: pointer;
  transition: color .15s, background .15s;
}

.vet-fav:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.vet-fav .ico {
  width: 17px;
  height: 17px;
}

.vet-fav.is-on {
  color: var(--brand);
}

.vet-fav.is-on .ico {
  fill: currentColor;
}

.vet-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--vcat-muted);
}

.vet-card__rating b {
  color: var(--vcat-ink);
  font-size: 13.5px;
}

.vet-card__star {
  width: 14px;
  height: 14px;
  color: #F5B301;
  fill: #F5B301;
}

.vet-card__addr {
  margin: 0;
  display: flex;
  gap: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.vet-card__addr .ico {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--vcat-muted);
}

.vet-card__addr small {
  display: block;
  color: var(--vcat-muted);
  font-size: 12.5px;
}

.vet-card__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: hidden;
  /* Одна строка статусов: иначе карточки в ряду получаются разной высоты
     и сетка «пляшет». Лишние статусы видны на странице клиники. */
  max-height: 24px;
}

.vet-card__tags .tag {
  height: 24px;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
}

.vet-card__tags .tag .ico {
  width: 11px;
  height: 11px;
}

.vet-card__foot {
  /* Подвал занимает всю ширину карточки, а не только правую колонку:
     иначе телефон и две кнопки не помещаются рядом со снимком. */
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px solid var(--vcat-line-soft);
}

.vet-card__phone {
  font-size: 13px;
  font-weight: 700;
  color: var(--vcat-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vet-card__phone:hover {
  color: var(--brand-dark);
}

.vet-card__phone--none {
  color: var(--vcat-muted);
  font-weight: 500;
}

.vet-card__call,
.vet-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.vet-card__call {
  margin-left: auto;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff;
  box-shadow: 0 8px 16px -12px rgba(227, 18, 76, .9);
}

.vet-card__call .ico {
  width: 13px;
  height: 13px;
}

.vet-card__more {
  border: 1px solid var(--vcat-line);
  color: var(--ink-2);
  background: #fff;
}

.vet-card__more:hover {
  border-color: var(--brand-line);
  color: var(--brand-dark);
}

/* Цены и метро внутри карточки — компактно, чтобы не ломать сетку */
.vet-card .vet-meta,
.vet-card .vet-price,
.vet-card .vet-signature {
  display: none;
}

/* ---------- Колонка с картой ---------- */

.vcat-mapwrap {
  position: sticky;
  top: 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--vcat-line);
  background: #fff;
  box-shadow: var(--vcat-shadow);
  min-height: 520px;
}

.vcat-mapcta {
  position: absolute;
  z-index: 500;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--vcat-line);
  border-radius: 14px;
  background: #fff;
  color: var(--vcat-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: var(--vcat-shadow);
}

.vcat-mapcta .ico {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.vcat-mapwrap .vet-map {
  height: 100%;
  min-height: 470px;
  border: 0;
  border-radius: 0;
}

.vcat-mapwrap .vet-legend {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--vcat-line);
  border-radius: 0;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--ink-2);
  max-height: none;
}

.vcat-mapwrap .vet-legend span,
.vcat-mapwrap .vet-legend small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
}

.vcat-mapwrap .vet-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

/* Вид «На карте»: карта на всю ширину, список скрыт */
.vcat-layout.is-map {
  grid-template-columns: minmax(0, 1fr);
}

.vcat-layout.is-map .vcat-list {
  display: none;
}

.vcat-layout.is-map .vcat-mapwrap {
  position: relative;
  top: 0;
  min-height: 640px;
}

.vcat-layout.is-map .vcat-mapwrap .vet-map {
  min-height: 640px;
}

/* ---------- Кнопка «Показать ещё» ---------- */

.vet-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.vet-more button,
.vet-more .btn {
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--vcat-line);
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.vet-more button:hover {
  border-color: var(--brand-line);
  color: var(--brand-dark);
}

/* ---------- Нижняя плашка ---------- */

.vcat-foot {
  margin: 6px 0 34px;
}

.vcat-foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 26px;
  border-radius: 22px;
  background: linear-gradient(90deg, #FFF6EF, #FFF1F5 70%, #FFF7F1);
  border: 1px solid var(--vcat-line);
}

.vcat-foot__inner p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.vcat-foot__inner .ico {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.vcat-foot__note {
  font-size: 13.5px;
  font-style: italic;
  color: #B4557A;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
  .vcat-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  }

  .vets-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .vcat-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .vcat-hero__text {
    padding-right: 0;
  }

  .vcat-hero__media {
    order: -1;
    min-height: 240px;
    border-radius: 20px 20px 20px 48px;
  }

  .vcat-feats {
    margin: 0;
    width: 100%;
  }

  .vcat-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .vcat-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .vcat-mapwrap {
    position: relative;
    top: 0;
    min-height: 380px;
  }

  .vcat-mapwrap .vet-map {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .vcat-hero {
    padding: 12px 0 20px;
  }

  .vcat-h1 {
    font-size: 30px;
  }

  .vcat-panel {
    border-radius: 18px;
    padding: 12px;
  }

  .vcat-submit {
    width: 100%;
  }

  .vets-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vet-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }

  .vet-card__photo {
    width: 96px;
    height: 96px;
  }

  .vet-card__mark {
    font-size: 24px;
  }

  .vet-card__call {
    margin-left: 0;
  }

  .vcat-select {
    min-width: 0;
    flex: 1 1 auto;
  }
}

/* Карточки круглосуточных и блок «рядом со мной» */

/* ============================================================
   Блок «Клиники рядом со мной» и карточки «Работают круглосуточно».
   Оба блока живут на /vets и оформлены в том же ключе, что и каталог.
   ============================================================ */

/* ---------- «Клиники рядом со мной» ---------- */

.vcat-near {
  margin: 18px auto 0;
}

.vcat-near__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid var(--vcat-line);
  background:
    radial-gradient(120% 180% at 92% 10%, rgba(227, 18, 76, .10), transparent 58%),
    linear-gradient(90deg, #FFF7F1 0%, #FFF3F7 62%, #FFF8F3 100%);
  box-shadow: var(--vcat-shadow-soft);
}

.vcat-near__lead {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.vcat-near__ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--brand-line);
  color: var(--brand);
  box-shadow: 0 8px 18px -14px rgba(227, 18, 76, .8);
}

.vcat-near__ico .ico {
  width: 21px;
  height: 21px;
}

.vcat-near__title {
  margin: 2px 0 4px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--vcat-ink);
}

.vcat-near__text {
  margin: 0;
  max-width: 74ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vcat-muted);
}

.vcat-near__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 24px -16px rgba(227, 18, 76, .95);
  transition: transform .15s, box-shadow .15s;
}

.vcat-near__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px -16px rgba(227, 18, 76, .95);
}

.vcat-near__btn .ico {
  width: 16px;
  height: 16px;
}

.vcat-near__btn.is-busy {
  opacity: .75;
  cursor: progress;
}

/* Список ближайших клиник: появляется после того, как разрешена геолокация */
.vcat-near__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.vcat-near__list[hidden] {
  display: none;
}

.vcat-near__list .vet-near__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--vcat-line);
  border-radius: 16px;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}

.vcat-near__list .vet-near__row:hover {
  border-color: var(--brand-line);
  box-shadow: var(--vcat-shadow-soft);
  transform: translateY(-1px);
}

.vcat-near__list .vet-near__rank {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.vcat-near__list .vet-near__row:nth-child(1) .vet-near__rank {
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff;
}

.vcat-near__list .vet-emergency__name {
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--vcat-ink);
}

.vcat-near__list .vet-emergency__name a {
  color: inherit;
  text-decoration: none;
}

.vcat-near__list .vet-emergency__addr {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--vcat-muted);
}

.vcat-near__list .btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- «Работают круглосуточно» ---------- */

.vet-emergency {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.vet-emergency__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "ava text"
    "btn btn";
  gap: 10px 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--vcat-line);
  border-radius: 18px;
  box-shadow: 0 10px 26px -24px rgba(64, 32, 22, .6);
  transition: border-color .16s, box-shadow .16s, transform .16s;
}

.vet-emergency__row {
  position: relative;
}

.vet-emergency__row::after {
  content: "24/7";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
}

.vet-emergency__row > div {
  padding-right: 46px;
}

.vet-emergency__row:hover {
  border-color: var(--brand-line);
  box-shadow: var(--vcat-shadow);
  transform: translateY(-2px);
}

.vet-emergency__row > .vet-card__ava {
  grid-area: ava;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #FFE9F0, #FFF4F7);
  border: 1px solid var(--brand-line);
  color: var(--brand);
}

.vet-emergency__row > .vet-card__ava .ico {
  width: 20px;
  height: 20px;
}

.vet-emergency__row > div {
  grid-area: text;
  align-self: center;
}

.vet-emergency__row > .btn {
  grid-area: btn;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.vet-emergency__name {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--vcat-ink);
}

.vet-emergency__name a {
  color: inherit;
  text-decoration: none;
}

.vet-emergency__name a:hover {
  color: var(--brand-dark);
}

.vet-emergency__addr {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--vcat-muted);
}

/* Кнопка «Показать все …» под сеткой */
.vet-more--left {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .vcat-near__panel {
    align-items: flex-start;
  }

  .vcat-near__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .vcat-near__panel {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .vcat-near__ico {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .vcat-near__title {
    font-size: 15.5px;
  }

  .vet-emergency {
    grid-template-columns: minmax(0, 1fr);
  }

  .vcat-near__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .vcat-near__list .vet-near__row {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
      "rank text"
      "btn btn";
  }

  .vcat-near__list .vet-near__rank {
    grid-area: rank;
  }

  .vcat-near__list .btn {
    grid-area: btn;
    width: 100%;
    justify-content: center;
  }
}

/* Метки карты в фирменном стиле */

/* ---------- Метки карты в фирменном стиле ---------- */

.vet-pin {
  position: relative;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(117, 22, 52, .28));
  transition: transform .16s ease;
}

.vet-pin__shape {
  display: block;
}

.vet-pin__body {
  fill: var(--pin, var(--brand));
  stroke: #fff;
  stroke-width: 1.7;
}

.vet-pin__dot {
  fill: #fff;
}

/* Лапка стоит по центру белого круга: круг в SVG — cx 15, cy 14.8 при 40 единицах высоты */
.vet-pin__paw {
  position: absolute;
  left: 50%;
  top: 37%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  fill: var(--pin, var(--brand));
  pointer-events: none;
}

.vet-pin.is-active .vet-pin__paw {
  width: 19px;
  height: 19px;
}

.vet-pin-wrap:hover .vet-pin {
  transform: scale(1.08);
}

/* Кластер: розовый круг с белой обводкой */
.vet-cluster {
  display: grid;
  place-items: center;
  width: var(--size, 34px);
  height: var(--size, 34px);
  border-radius: 50%;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  border: 3px solid #fff;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 8px 18px -8px rgba(227, 18, 76, .75);
  transition: transform .16s ease, box-shadow .16s ease;
}

.vet-cluster-wrap:hover .vet-cluster {
  transform: scale(1.08);
  box-shadow: 0 10px 22px -8px rgba(227, 18, 76, .9);
}

/* Легенда под картой: цветные точки повторяют цвет меток */
.vcat-mapwrap .vet-legend i {
  background: var(--pin, var(--brand));
}

/* Кнопки масштаба и подпись карты — в том же стиле, что метки */
.vcat-mapwrap .leaflet-control-zoom {
  margin: 12px;
  border: 1px solid var(--vcat-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--vcat-shadow-soft);
}

.vcat-mapwrap .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  line-height: 34px;
  background: #fff;
  border: 0;
  color: var(--vcat-ink);
  font-size: 18px;
  font-weight: 600;
}

.vcat-mapwrap .leaflet-control-zoom a:first-child {
  border-bottom: 1px solid var(--vcat-line);
}

.vcat-mapwrap .leaflet-control-zoom a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.vcat-mapwrap .leaflet-control-attribution {
  background: rgba(255, 255, 255, .8);
  font-size: 10px;
  border-radius: 8px 0 0 0;
}

/* Знак ветклиники в маркере */

/* ---------- Знак ветклиники вместо лапки ---------- */

.vet-pin__logo {
  position: absolute;
  left: 50%;
  top: 37%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: url("/assets/img/vets/clinic-mark-96.png") center / contain no-repeat;
  pointer-events: none;
}

.vet-pin.is-active .vet-pin__logo {
  width: 20px;
  height: 20px;
}

/* ---------- Подпись под картой ---------- */

.vcat-mapwrap .vet-legend {
  display: grid;
  gap: 6px;
}

.vet-legend__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}

.vet-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--vcat-muted);
  white-space: nowrap;
}

.vet-legend__item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pin, var(--brand));
  flex: none;
}

.vet-legend__count {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.vet-legend__row--hint .vet-legend__item {
  font-size: 11px;
  color: #A08C84;
}

/* Карта: премиальный слой */

/* ============================================================
   Карта каталога — премиальный слой.
   Уточняет метки, кластеры, легенду и контролы поверх базового
   оформления: блики, слоистые тени, ритм в подписи.
   ============================================================ */

/* ---------- Контейнер карты ---------- */

.vcat-mapwrap {
  border: 1px solid #F2E2D8;
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 18px 40px -26px rgba(72, 36, 24, .45),
    0 2px 10px -6px rgba(72, 36, 24, .18);
}

.vcat-mapwrap .vet-map {
  position: relative;
  isolation: isolate;
}

/* Тёплый вигнет по краям: карта не «висит» на белом, а лежит в рамке */
.vcat-mapwrap .vet-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(42, 26, 21, .05), inset 0 0 60px rgba(94, 52, 36, .07);
  border-radius: 0;
}

/* ---------- Метки ---------- */

.vet-pin {
  filter: drop-shadow(0 1px 1px rgba(90, 16, 40, .18))
          drop-shadow(0 7px 12px rgba(90, 16, 40, .22));
  transition: transform .18s cubic-bezier(.2, .7, .3, 1), filter .18s ease;
}

/* Глянцевый блик в верхней части капли */
.vet-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5%;
  width: 46%;
  height: 26%;
  transform: translateX(-50%);
  border-radius: 50%;
  height: 30%;
  background: radial-gradient(ellipse at 50% 22%, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.vet-pin__body {
  stroke-width: 2;
}

.vet-pin-wrap:hover .vet-pin {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 2px 2px rgba(90, 16, 40, .2))
          drop-shadow(0 12px 18px rgba(90, 16, 40, .26));
}

/* Активная метка: мягкая пульсация вокруг головки */
.vet-pin.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 37%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pin, var(--brand));
  transform: translate(-50%, -50%);
  animation: vetPinPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes vetPinPulse {
  0%   { transform: translate(-50%, -50%) scale(.55); opacity: .30; }
  70%  { opacity: .10; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

/* ---------- Кластеры ---------- */

.vet-cluster {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #F43A6E, #D60F47);
  border: 2.5px solid #fff;
  box-shadow:
    0 0 0 1px rgba(214, 15, 71, .18),
    0 10px 20px -10px rgba(214, 15, 71, .8),
    0 2px 6px -2px rgba(72, 24, 40, .3);
  font-variant-numeric: tabular-nums;
}

.vet-cluster-wrap:hover .vet-cluster {
  transform: translateY(-1px) scale(1.06);
  box-shadow:
    0 0 0 1px rgba(214, 15, 71, .22),
    0 14px 26px -10px rgba(214, 15, 71, .9);
}

/* ---------- Легенда ---------- */

.vcat-mapwrap .vet-legend {
  gap: 8px;
  padding: 12px 14px 13px;
  background: linear-gradient(180deg, #FFFDFB, #FFF8F4);
}

.vet-legend__title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B49C90;
}

.vet-legend__row {
  gap: 8px 18px;
}

.vet-legend__item {
  font-size: 11.5px;
  color: #6E574E;
}

.vet-legend__item i {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pin, var(--brand)) 16%, transparent);
}

.vet-legend__count {
  box-shadow: 0 0 0 2px #fff, 0 4px 10px -6px rgba(214, 15, 71, .9);
}

.vet-legend__row--hint {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed #F1E1D8;
}

.vet-legend__row--hint .vet-legend__item {
  font-size: 11px;
  color: #A08C84;
}

/* ---------- Кнопка «Показать клиники на карте» ---------- */

.vcat-mapcta {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 12px 26px -16px rgba(72, 36, 24, .5);
  transition: transform .16s ease, box-shadow .16s ease;
}

.vcat-mapcta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 16px 30px -16px rgba(72, 36, 24, .55);
}

.vcat-mapcta .ico {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  box-sizing: content-box;
}

/* ---------- Кнопки масштаба ---------- */

.vcat-mapwrap .leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 10px 22px -14px rgba(72, 36, 24, .5);
}

.vcat-mapwrap .leaflet-control-zoom a {
  color: #4A3730;
  transition: background .15s ease, color .15s ease;
}

.vcat-mapwrap .leaflet-control-zoom a:active {
  background: var(--brand-soft);
}

/* ---------- Подпись Яндекса ---------- */

.vcat-mapwrap .leaflet-control-attribution {
  border-radius: 8px 0 0 0;
  color: #9C8A82;
}

/* ---------- Всплывающая карточка на карте ---------- */

.leaflet-popup-content-wrapper {
  border-radius: 16px;
  border: 1px solid #F2E2D8;
  box-shadow: 0 18px 40px -22px rgba(72, 36, 24, .55), 0 2px 8px -4px rgba(72, 36, 24, .2);
  padding: 2px;
}

.leaflet-popup-content {
  margin: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--vcat-ink);
}

.leaflet-popup-content b,
.leaflet-popup-content strong {
  font-size: 14px;
  font-weight: 700;
}

.leaflet-popup-content a {
  color: var(--brand-dark);
}

.leaflet-popup-tip {
  box-shadow: none;
  border: 1px solid #F2E2D8;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #B49C90;
  top: 6px;
  right: 8px;
  font-size: 18px;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: var(--brand);
}

/* Всплывающая карточка метки */

/* ============================================================
   Всплывающая карточка метки: современное окно.
   Стили заданы через .leaflet-popup, чтобы перекрыть базовый слой.
   ============================================================ */

.leaflet-popup {
  margin-bottom: 22px;
}

.leaflet-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 20px;
  border: 1px solid #F0DFD5;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 24px 48px -20px rgba(58, 28, 18, .38),
    0 6px 16px -8px rgba(58, 28, 18, .18);
  overflow: hidden;
}

.leaflet-popup .leaflet-popup-content {
  margin: 0;
  width: 286px !important;
  font-family: inherit;
}

.leaflet-popup .leaflet-popup-tip {
  border: 1px solid #F0DFD5;
  box-shadow: none;
  width: 14px;
  height: 14px;
  margin: -7px auto 0;
}

.leaflet-popup .leaflet-popup-close-button {
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #A2887C;
  font-size: 18px;
  line-height: 1;
  background: #FFF6F1;
  transition: background .15s ease, color .15s ease;
}

.leaflet-popup .leaflet-popup-close-button:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.vet-pop {
  padding: 16px 16px 14px;
}

.vet-pop__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 26px;
}

.vet-pop__name {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #2A1A15;
}

.vet-pop__badge {
  flex: none;
  margin-top: 2px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F2F7F4;
  border: 1px solid #D8E8DE;
  color: #2F7A58;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.vet-pop__badge--hot {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark);
}

.vet-pop__addr {
  display: flex;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5B463D;
}

.vet-pop__addr .ico {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #B49C90;
}

.vet-pop__addr small {
  display: block;
  color: #9A8478;
  font-size: 11.5px;
}

.vet-pop__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.vet-pop__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #FBF5F1;
  border: 1px solid #F0E3DA;
  color: #6E574E;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.vet-pop__chip .ico {
  width: 11px;
  height: 11px;
  color: #B49C90;
}

.vet-pop__actions {
  margin-top: 12px;
}

/* Кнопка звонка: белый текст на брендовом градиенте — читается всегда */
.leaflet-popup .vet-pop__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 10px 20px -12px rgba(227, 18, 76, .9);
  transition: transform .15s ease, box-shadow .15s ease;
}

.leaflet-popup .vet-pop__call:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px -12px rgba(227, 18, 76, .95);
}

.leaflet-popup .vet-pop__call .ico {
  width: 15px;
  height: 15px;
  color: #fff;
}

.vet-pop__phone {
  display: block;
  margin-top: 7px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #2A1A15;
  text-decoration: none;
  letter-spacing: .01em;
}

.vet-pop__phone:hover {
  color: var(--brand-dark);
}

.vet-pop__phone--none {
  color: #A2887C;
  font-weight: 500;
}

.vet-pop__links {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #F6EAE2;
}

.leaflet-popup .vet-pop__link {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border: 1px solid #EFDCD2;
  border-radius: 10px;
  background: #FFFCFA;
  color: #4A3730 !important;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.leaflet-popup .vet-pop__link:hover {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark) !important;
}

.leaflet-popup .vet-pop__link .ico {
  width: 13px;
  height: 13px;
  color: #A2887C;
}

.leaflet-popup .vet-pop__link:hover .ico {
  color: var(--brand);
}

/* Карточки 24/7 в стиле каталога */

/* ============================================================
   Карточки «Работают круглосуточно» в стиле каталога.
   Идут последними, поэтому перекрывают раннюю версию блока.
   ============================================================ */

.vet-emergency {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.vet-emergency__row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 158px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--vcat-line);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.vet-emergency__row:hover {
  border-color: var(--brand-line);
  box-shadow: 0 18px 36px -26px rgba(72, 32, 24, .5), 0 2px 8px -6px rgba(72, 32, 24, .18);
  transform: translateY(-2px);
}

/* Метку 24/7 раньше рисовал псевдоэлемент — теперь это элемент разметки */
.vet-emergency__row::after {
  content: none;
}

.vet-emergency__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vet-emergency__ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #FFEAF1, #FFF6F4);
  border: 1px solid var(--brand-line);
  color: var(--brand);
}

.vet-emergency__ico .ico {
  width: 18px;
  height: 18px;
}

.vet-emergency__name {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--vcat-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.vet-emergency__name a {
  color: inherit;
  text-decoration: none;
}

.vet-emergency__name a:hover {
  color: var(--brand-dark);
}

.vet-emergency__badge {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
}

.vet-emergency__addr {
  display: flex;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5B463D;
}

.vet-emergency__addr .ico {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #B49C90;
}

.vet-emergency__addr small {
  display: block;
  color: #9A8478;
  font-size: 11.5px;
}

.vet-emergency__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F7EDE6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vet-emergency__phone {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vcat-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vet-emergency__phone:hover {
  color: var(--brand-dark);
}

.vet-emergency__call {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F02A62, var(--brand));
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 16px -12px rgba(227, 18, 76, .9);
  transition: transform .15s ease, box-shadow .15s ease;
}

.vet-emergency__call:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px -12px rgba(227, 18, 76, .95);
}

.vet-emergency__call .ico {
  width: 13px;
  height: 13px;
  color: #fff;
}

.vet-emergency__call--ghost {
  margin-left: 0;
  background: #fff;
  border: 1px solid var(--vcat-line);
  color: #4A3730 !important;
  box-shadow: none;
}

.vet-emergency__call--ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark) !important;
}

@media (max-width: 720px) {
  .vet-emergency {
    grid-template-columns: minmax(0, 1fr);
  }

  .vet-emergency__row {
    min-height: 0;
  }
}

/* Нативная стрелка селекта дублировала нашу: гасим её принудительно */
.vcat-select select,
.vcat-input select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
  padding-right: 4px;
}

.vcat-select select::-ms-expand,
.vcat-input select::-ms-expand {
  display: none;
}
