.csl-locator {
  max-width: 980px;
}

.csl-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}

.csl-controls input,
.csl-controls select,
.csl-controls button {
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid #ddd;
  line-height: 1.2;
}

.csl-controls input {
  min-width: 240px;
  flex: 1 1 auto;
}

.csl-controls button {
  cursor: pointer;
  border: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  white-space: nowrap;
}

.csl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.csl-filter-btn {
  appearance: none;
  background: #f6f6f6;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 12px;
  transition: all .2s ease;
}

.csl-filter-btn:hover,
.csl-filter-btn.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.csl-map {
  width: 600px;
  height: 420px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 16px;
}

.csl-results {
  margin: 0;
  max-height: 320px;
  max-width: 600px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 12px 18px;
  background: #fff;
  list-style: none;
}

.csl-results::-webkit-scrollbar {
  width: 6px;
}

.csl-results::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

.csl-results li {
  list-style: none;
  margin: 0;
  padding: 4px 4px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.csl-results li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.csl-result-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  line-height: 1.25;
}

.csl-result-title strong {
  font-size: 18px;
  font-weight: 700;
  display: inline;
  margin: 0;
}

.csl-result-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.csl-result-address {
  color: #555;
  font-size: 15px;
  line-height: 1.4;
  min-width: 0;
}

.csl-result-directions {
  white-space: nowrap;
  font-size: .75rem;
  color: #333;
  background: #fdfdfd;
  border: 1px solid #ededed;
  border-radius: 999px;
  box-shadow: 0 0 2px 1px rgba(0,0,0,.1);
  font-weight: 500;
  flex: 0 0 auto;
  transition: all .25s ease;
}

a.csl-result-directions {
  padding: 10px;
  text-decoration: none;
}

.csl-result-directions:hover {
  color: #222;
  background: #fafafa;
  box-shadow: 0 0 2px 1px rgba(0,0,0,.11);
  transform: translateY(-1px);
}

.csl-client-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #444;
  font-size: 12px;
  line-height: 1;
  margin: 0;
  flex: 0 0 auto;
}

.csl-iw__title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.csl-iw__addr {
  font-size: 12px;
  opacity: .8;
  line-height: 1.3;
  margin-bottom: 10px;
}

.csl-iw__btn {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  background: #d9712c;
  color: #fff;
}

.csl-iw__btn:hover {
  opacity: .92;
}

.gm-style-iw-ch {
  display: none !important;
}

.gm-style-iw {
  padding: 0 !important;
}

.gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}

.gm-style-iw-c .gm-ui-hover-effect {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(255,255,255,0.9) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 9;
}

.gm-ui-hover-effect span {
  margin: auto !important;
}

.csl-iw {
  font-family: inherit;
  max-width: 240px;
  position: relative;
  padding: 16px;
  border-radius: 14px;
}

@media (max-width: 1024px) {
  .csl-map,
  .csl-results {
    width: 500px;
  }
}

@media (max-width: 767px) {
  .csl-controls {
    flex-wrap: wrap;
  }

  .csl-map,
  .csl-results {
    width: 100%;
    max-width: 100%;
  }
}
