/* Agency storefront — independent of /beauty experts chrome. */
.ls-agency-page .ls-section-title {
  letter-spacing: -0.02em;
}
.ls-agency-page .ls-btn-cta {
  font-weight: 700;
}

.ls-agency-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.1rem 0 0.85rem;
}

.ls-agency-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.ls-agency-split.has-map {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
}
@media (max-width: 991px) {
  .ls-agency-split.has-map {
    grid-template-columns: 1fr;
  }
}

.ls-agency-count {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: #0f172a;
}

.ls-agency-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
@media (min-width: 992px) {
  .ls-agency-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ls-agency-row.is-on .ls-agency-card {
  box-shadow: 0 0 0 2px var(--ls-brand, #2563EB);
}

.ls-agency-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.ls-agency-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 148px;
  flex: 0 0 148px;
  padding: 0.85rem 1rem;
  overflow: hidden;
  background: linear-gradient(165deg, #cfeef8 0%, #eef9fc 48%, #ffffff 100%);
}
.ls-agency-page .ls-agency-photo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 124px;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
}
.ls-agency-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.55rem 0.7rem 0.7rem;
  min-height: 8.2rem;
  flex: 1;
}
.ls-agency-body strong {
  font-size: 0.88rem;
  line-height: 1.25;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-agency-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  margin: 0.1rem 0 0.15rem;
}
.ls-agency-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  color: #334155;
  background: #f3f8fb;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
.ls-agency-meta {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-agency-cta-row {
  display: flex;
  gap: 0.35rem;
  margin-top: auto;
}
.ls-agency-cta-row .btn {
  flex: 1;
  margin-top: 0;
  font-size: 0.72rem;
  padding: 0.28rem 0.2rem;
  white-space: nowrap;
  line-height: 1.2;
}

.ls-agency-map-wrap {
  position: sticky;
  top: 5rem;
}
.ls-agency-map {
  width: 100%;
  height: calc(100vh - 96px);
  min-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #e8eef5;
}
@media (max-width: 991px) {
  .ls-agency-map-wrap {
    position: static;
  }
  .ls-agency-map-wrap:not(.is-open) .ls-agency-map {
    display: none;
  }
  .ls-agency-map {
    height: 320px;
    min-height: 280px;
  }
}

.ls-agency-map-icon {
  background: transparent;
  border: 0;
}
.ls-agency-map-pin {
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  text-align: center;
}
.ls-agency-map-pin-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.ls-agency-map-pin-ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #eff6ff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  display: block;
}
.ls-agency-map-pin-ava-empty {
  background: #2563EB;
}
.ls-agency-map-pin-rate {
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.4;
}
.ls-agency-map-pin.is-on .ls-agency-map-pin-rate {
  background: var(--ls-brand, #2563EB);
}

/* Agency discovery filters (own classes — not Experts ls-beauty-*) */
.ls-agency-filter-form {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--ls-line, #e8eef5);
  border-radius: 14px;
  padding: 0.65rem 0.75rem 0.55rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.ls-agency-searchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: stretch;
}
.ls-agency-searchbar .btn {
  min-width: 108px;
  height: 44px;
  border-radius: 10px;
  font-weight: 700;
}
.ls-agency-search-field {
  position: relative;
  flex: 1 1 220px;
}
.ls-agency-search-field > i {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--ls-muted, #64748b);
  z-index: 2;
}
.ls-agency-search-field .ls-discover-q {
  height: 44px;
  padding-left: 2.4rem;
  border-radius: 10px;
}
.ls-expert-searchbar .ls-agency-search-field {
  flex: 1 1 200px;
  min-width: 160px;
}
.ls-expert-searchbar .ls-agency-search-field > i {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.ls-expert-searchbar .ls-discover-q {
  height: 46px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding-left: 2.5rem;
  font-size: 0.92rem;
  box-shadow: none;
}
.ls-agency-chips {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ls-agency-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ls-agency-city-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.ls-agency-chips-row a {
  border: 1px solid var(--ls-line, #e8eef5);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ls-ink, #0f172a);
  white-space: nowrap;
  text-decoration: none;
}
.ls-agency-chips-row a.is-on {
  background: var(--ls-brand, #2563EB);
  border-color: var(--ls-brand, #2563EB);
  color: #fff;
}
.ls-agency-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ls-agency-filters a,
.ls-agency-filters button {
  border: 1px solid var(--ls-line, #e8eef5);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ls-ink, #0f172a);
  cursor: pointer;
}
.ls-agency-filters a.is-on,
.ls-agency-filters button.is-on {
  background: var(--ls-brand, #2563EB);
  border-color: var(--ls-brand, #2563EB);
  color: #fff;
}
