/* ===============================
   Layout (left column – shortcode)
================================ */

.spf {
  display: block;
  width: 100%;
}

.spf-filters {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.spf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 18px;
}

.spf-group h4 {
  font-size: 18px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  margin-bottom: 20px;
  color: #08284B;
  border-bottom: 1px solid rgba(8, 40, 75, 0.40);
}

.spf-checks {
  display: grid;
  gap: 10px;
}

.spf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #08284B;
}

.spf-check input {
  width: 18px;
  height: 18px;
  accent-color: #0072CE;
}

/* ===============================
   Location search
================================ */

.spf-location-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 40px 0;
}

.spf-search {
  flex: 1;
  display: flex;
  justify-self: flex-start;
  padding: 20px 0 8px;
  border-bottom: 1px solid rgba(8, 40, 75, 0.4);
  gap: 8px;
}

.spf-search-icon {
  
}

#spf-city {
  width: 100%;
  padding: 0;
  border: none;
  
  border-radius: 0;
  outline: none;
  font-size: 16px;
}

#spf-city:focus {
  border-color: #0072CE;
}

/* ===============================
   Buttons
================================ */

.spf-btn {
  border: none;
  padding: 13px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(89deg, #0072CE 3.32%, #0C8EEB 98.87%);
  white-space: nowrap;
  position: relative;
  padding-left: 50px;
}
.spf-btn::before{
  position: absolute;
  content:'';
  background: url('/wp-content/uploads/2026/01/tabler-icon-current-location.svg');
  background-size: contain;
  width: 24px;
  height: 24px;
  left: 18px;
}
/* ===============================
   Radius
================================ */

.spf-radius {
  margin-top: 6px;
}

.spf-radius-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  color: #08284B;
}

#spf-radius {
  width: 100%;
  accent-color: #0072CE;
}

.spf-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.spf-pill {
  background: transparent;
  border: 0.5px solid #08284B;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
  color: #08284B;
}

.spf-pill:hover, .spf-pill:active {
  background: inherit;
  color: #0072CE;
  border-color: #0072CE;
}


/* ===============================
   Results
================================ */

.spf-results-wrap {
  margin-top: 10px;
}

.spf-found {
  font-size: 18px;
  color: #08284B;
  margin-bottom: 16px;
}

/* ===============================
   Partner cards (FINAL DESIGN)
================================ */

.spf-card {
  display: block;
  padding: 16px;
  
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 12px;
  border-left: 2px solid #0072CE;
  background: var(--BG-light, #F7F8F9);
}

.spf-card:hover {
  background: linear-gradient(89deg, #0072CE 3.32%, #0C8EEB 98.87%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 114, 206, 0.25);
}

.spf-card-title {
  font-size: 18px;
  font-weight: 400;
  color: #08284B;
  margin-bottom: 12px;
}

.spf-card-sub {
  font-size: 16px;
  color: rgba(8, 40, 75, 0.5);
}

.spf-card:hover .spf-card-title,
.spf-card:hover .spf-card-sub {
  color: #fff;
}

/* ===============================
   Empty state
================================ */

.spf-empty {
  padding: 16px;
  background: #F7F8F9;
  border-radius: 12px;
  color: rgba(8, 40, 75, 0.6);
}

/* ===============================
   Map (right Elementor column)
================================ */

#spf-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #F7F8F9;
}

/* ===============================
   Mobile
================================ */

@media (max-width: 767px) {
  .spf-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .spf-location-row {
    flex-direction: column;
    align-items: stretch;
  }

  .spf-btn {
    width: 100%;
  }
}
