/* Service Locations for Elementor (SLE) v1.4.0 - Professional preset */
.sle-widget{
  --sle-accent:#DC2626;
  --sle-bg:transparent;
  --sle-text:#111827;
  --sle-muted:#6b7280;
  --sle-divider:#eef2f7;

  --sle-heading: var(--sle-text);
  --sle-description: var(--sle-muted);
  --sle-state-heading: var(--sle-text);
  --sle-state-count: var(--sle-muted);

  --sle-search-bg:#f9fafb;
  --sle-search-text:#111827;
  --sle-search-placeholder:#9ca3af;
  --sle-search-border:#e5e7eb;
  --sle-search-radius:16px;

  --sle-filter-text:#111827;
  --sle-filter-border:#e5e7eb;
  --sle-filter-bg:#ffffff;
  --sle-filter-hover-bg:#ffffff;
  --sle-filter-hover-border:#e5e7eb;
  --sle-filter-active-bg:var(--sle-accent);
  --sle-filter-active-text:#ffffff;

  --sle-pill-bg:#f9fafb;
  --sle-pill-text:#111827;
  --sle-pill-border:#e5e7eb;
  --sle-pill-hover-bg:#f9fafb;
  --sle-pill-hover-border:#d1d5db;
  --sle-pill-active-bg:#f9fafb;
  --sle-pill-active-border:var(--sle-accent);

  --sle-icon:var(--sle-accent);

  --sle-heading-font:"Serpentine Medium Oblique", Sans-serif;
  --sle-body-font:"Helvetica", Arial, Sans-serif;
  --sle-button-font:"Serpentine Medium Oblique", Sans-serif;
  --sle-button-weight:500;
  --sle-heading-align:center;

  max-width:1200px;
  margin:0 auto;
  padding:28px 18px 54px;
  color:var(--sle-text);
  background:var(--sle-bg);
}

/* Header */
.sle-header{
  text-align: var(--sle-heading-align);
  margin: 6px 0 22px;
}
.sle-header h2{
  font-family: var(--sle-heading-font);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 46px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.05;
  color: var(--sle-heading);
}
.sle-header p{
  font-family: var(--sle-body-font);
  color: var(--sle-description);
  margin: 0;
  font-size: 16px;
}

/* Search */
.sle-search{margin: 18px auto 18px; max-width: 860px; position: relative;}
.sle-widget .sle-search-input{
  width: 100%;
  height: 56px;
  padding: 12px 52px 12px 16px; /* right icon space */
  border-radius: var(--sle-search-radius);
  border: 1px solid var(--sle-search-border);
  background: var(--sle-search-bg);
  color: var(--sle-search-text);
  font-family: var(--sle-body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline: none;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sle-widget .sle-search-input::placeholder{color: var(--sle-search-placeholder);}
.sle-widget .sle-search-input:focus{
  border-color: var(--sle-accent);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.sle-search-icon{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: .65;
  pointer-events: none;
  color: var(--sle-muted);
}

/* Filters */
.sle-filters{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px 0 18px;
}
.sle-filter{
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--sle-filter-border);
  background: var(--sle-filter-bg);
  cursor: pointer;
  font-family: var(--sle-button-font);
  font-weight: var(--sle-button-weight);
  font-size: 14px;
  color: var(--sle-filter-text);
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease, border-color .15s ease;
  user-select:none;
}
.sle-filter:hover{
  transform: translateY(-1px);
  background: var(--sle-filter-hover-bg);
  border-color: var(--sle-filter-hover-border);
  box-shadow: 0 10px 22px rgba(17,24,39,.08);
}
.sle-filter.active{
  background: var(--sle-filter-active-bg);
  border-color: var(--sle-filter-active-bg);
  color: var(--sle-filter-active-text);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--sle-filter-active-bg) 28%, transparent);
}

/* Meta row */
.sle-meta{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin: 16px 0 10px;
  font-size: 15px;
  color: var(--sle-muted);
  font-family: var(--sle-body-font);
}
.sle-meta strong{color: var(--sle-accent); font-weight: 800;}
.sle-meta .sle-active-filter{color: var(--sle-text);}

/* Empty */
.sle-empty{
  text-align:center;
  padding: 18px;
  margin-top: 14px;
  border: 1px dashed var(--sle-divider);
  border-radius: 14px;
  color: var(--sle-muted);
  background: #fafafa;
  font-family: var(--sle-body-font);
}

/* States */
.sle-state{
  border-top: 1px solid var(--sle-divider);
  padding-top: 22px;
  margin-top: 18px;
}
.sle-state-head{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.sle-state-head h3{
  font-family: var(--sle-body-font);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--sle-state-heading);
}
.sle-state-count{
  font-family: var(--sle-body-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--sle-state-count);
  white-space: nowrap;
}

/* City pills */
.sle-cities{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sle-city{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--sle-pill-bg);
  border: 1px solid var(--sle-pill-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--sle-pill-text);
  cursor:pointer;
  user-select:none;
  text-decoration:none;
  font-family: var(--sle-body-font);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.sle-city:hover{
  transform: translateY(-1px);
  background: var(--sle-pill-hover-bg);
  border-color: var(--sle-pill-hover-border);
}
.sle-city.active{
  background: var(--sle-pill-active-bg);
  border-color: var(--sle-pill-active-border);
  box-shadow: none;
}

/* Icon only for linked cities */
a.sle-city::before{
  content:"";
  width: 16px;
  height: 16px;
  display:inline-block;
  flex-shrink:0;
  background: var(--sle-icon);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-3.866 0-7 3.134-7 7 0 5.25 7 13 7 13s7-7.75 7-13c0-3.866-3.134-7-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") no-repeat center/contain;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-3.866 0-7 3.134-7 7 0 5.25 7 13 7 13s7-7.75 7-13c0-3.866-3.134-7-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Responsive */
@media (max-width:640px){
  .sle-widget{padding: 22px 14px 44px;}
  .sle-meta{flex-direction:column;align-items:flex-start;gap:8px;}
  .sle-widget .sle-search-input{
  width: 100%;
  height: 56px;
  padding: 12px 52px 12px 16px; /* right icon space */
  border-radius: var(--sle-search-radius);
  border: 1px solid var(--sle-search-border);
  background: var(--sle-search-bg);
  color: var(--sle-search-text);
  font-family: var(--sle-body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline: none;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
  .sle-city{padding: 10px 14px; font-size: 13px; border-radius: 12px;}
}
