.venue-marker-wrap {
  background: transparent !important;
  border: none !important;
}

.venue-pin {
  --pin-color: #0f172a;
  display: block;
  width: 34px;
  height: 44px;
  color: var(--pin-color);
  pointer-events: none;
  transition: transform 0.18s ease;
}

.leaflet-marker-icon.venue-marker-wrap:hover .venue-pin {
  transform: translateY(-2px) scale(1.04);
}

.venue-pin__svg {
  display: block;
  width: 34px;
  height: 44px;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.28));
}

.venue-pin--catHair,
.venue-pin--catBarber,
.venue-pin--default {
  --pin-color: #0f172a;
}

.venue-pin--catNails {
  --pin-color: #be185d;
}

.venue-pin--catWax {
  --pin-color: #7c3aed;
}

.venue-pin--catBrows {
  --pin-color: #0891b2;
}

.venue-pin--catSkin {
  --pin-color: #059669;
}

.venue-pin--catMassage {
  --pin-color: #d97706;
}

.venue-pin--catMakeup {
  --pin-color: #db2777;
}

.venue-pin--catSpa {
  --pin-color: #0d9488;
}

.venue-pin--catAesthetic {
  --pin-color: #9333ea;
}

.venue-pin--catPets {
  --pin-color: #ca8a04;
}

.venue-pin--catTattoo {
  --pin-color: #57534e;
}

.venue-pin--catPiercing {
  --pin-color: #6366f1;
}

.venue-pin--catSport {
  --pin-color: #16a34a;
}

.venue-pin--catDental {
  --pin-color: #0284c7;
}

.venue-pin--catBraids {
  --pin-color: #a16207;
}

.venue-pin--catProfessional {
  --pin-color: #4f46e5;
}

.venue-pin--catDomestic {
  --pin-color: #78716c;
}

.venue-pin--catOther {
  --pin-color: #475569;
}

.venue-popup .leaflet-popup-content-wrapper {
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.venue-popup .leaflet-popup-content {
  margin: 0;
  width: 248px !important;
}

.venue-popup .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  top: 8px;
  right: 10px;
  z-index: 2;
}

.venue-popup .leaflet-popup-tip {
  box-shadow: none;
}

.venue-popup-card--rich {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.venue-popup-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.venue-popup-image {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f6;
  flex-shrink: 0;
}

.venue-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.venue-popup-image--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e2e8f0 0%, #f8fafc 100%);
  color: #94a3b8;
}

.venue-popup-image--empty svg {
  width: 22px;
  height: 22px;
}

.venue-popup-summary {
  min-width: 0;
}

.venue-popup-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.venue-popup-top strong {
  font-size: 0.875rem;
  line-height: 1.3;
}

.venue-popup-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.venue-popup-rating svg {
  width: 12px;
  height: 12px;
  color: #f59e0b;
}

.venue-popup-rating--new {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.venue-popup-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.35;
  margin-bottom: 0;
  min-width: 0;
}

.venue-popup-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

.venue-popup-location-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #64748b;
}

.venue-popup-location-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 168px;
}

.venue-popup-meta-reviews {
  flex-shrink: 0;
  color: #64748b;
}

.venue-popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.venue-popup-category {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 999px;
}

.venue-popup-price {
  font-size: 0.8125rem;
  font-weight: 600;
}

.venue-popup-price span {
  color: #64748b;
  font-weight: 500;
  font-size: 0.75rem;
}

.venue-popup-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 18px;
  font-size: 0.75rem;
  color: #0f172a;
}

.venue-popup-route--muted {
  color: #64748b;
}

.venue-popup-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 600;
}

.venue-popup-route-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l19-9-9 19-2-8-8-2z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l19-9-9 19-2-8-8-2z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  flex-shrink: 0;
}

.venue-popup-cta {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.venue-popup-cta:hover {
  background: #1e293b;
  color: #ffffff;
}
