.smarty-store-locator {
  --smarty-locator-black: #111;
  --smarty-locator-gold: var(--smarty-gold, #bf9957);
  --smarty-locator-border: rgba(0,0,0,.1);
  --smarty-locator-muted: #6f6f6f;
  margin: 0 auto;
}

.smarty-locator-searchbar {
  background: #fff;
  border: 1px solid var(--smarty-locator-border);
  padding: clamp(20px, 3vw, 34px);
  margin-bottom: 18px;
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
}

.smarty-locator-heading {
  margin-bottom: 20px;
}

.smarty-locator-heading .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.smarty-locator-heading h2 {
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: .88;
  margin: 0;
  color: var(--smarty-locator-black);
}

.smarty-locator-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.smarty-locator-controls input {
  flex: 1 1 320px;
  min-width: 220px;
  height: 52px;
  border: 1px solid var(--smarty-locator-border);
  padding: 0 16px;
  outline: 0;
  font-size: 1rem;
  background: #f7f7f7;
  color: #111;
}

.smarty-locator-controls input:focus {
  border-color: var(--smarty-locator-gold);
  background: #fff;
}

.smarty-locator-btn {
  min-height: 52px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 0 18px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.smarty-locator-btn:hover,
.smarty-locator-btn:focus {
  background: #111;
  color: #fff;
}

.smarty-locator-btn.primary {
  background: var(--smarty-locator-gold);
  border-color: var(--smarty-locator-gold);
  color: #fff;
}

.smarty-locator-btn.primary:hover,
.smarty-locator-btn.primary:focus {
  background: #111;
  border-color: #111;
}

.smarty-locator-btn.small {
  min-height: 40px;
  padding: 0 12px;
  font-size: .86rem;
}

.smarty-locator-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.smarty-locator-status {
  margin-top: 12px;
  font-size: .95rem;
  color: var(--smarty-locator-muted);
}

.smarty-locator-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.smarty-locator-list,
.smarty-locator-map {
  height: var(--smarty-locator-height, 640px);
  border: 1px solid var(--smarty-locator-border);
  background: #fff;
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
}

.smarty-locator-list {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.smarty-locator-list-header {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--smarty-locator-border);
}

.smarty-locator-list-header strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.smarty-locator-meta {
  color: var(--smarty-locator-muted);
  font-size: .92rem;
}

.smarty-locator-cards {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.smarty-locator-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--smarty-locator-border);
  padding: 14px;
  color: #111;
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.smarty-locator-card:hover,
.smarty-locator-card.is-active {
  border-color: var(--smarty-locator-gold);
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

.smarty-locator-card .store-name {
  display: block;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.smarty-locator-card .store-address {
  display: block;
  color: var(--smarty-locator-muted);
  font-size: .92rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.smarty-locator-card .store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: .9rem;
}

.smarty-locator-card .store-row a {
  color: var(--smarty-locator-gold);
  text-decoration: none;
  font-weight: 700;
}

.smarty-locator-card .store-row a:hover {
  color: #111;
}

.smarty-locator-card .store-distance {
  display: block;
  margin-top: 10px;
  color: var(--smarty-locator-muted);
  font-size: .86rem;
}

.smarty-locator-empty {
  padding: 16px;
  color: var(--smarty-locator-muted);
}

.smarty-locator-map {
  min-height: 420px;
  overflow: hidden;
}

.smarty-locator-map .leaflet-popup-content-wrapper,
.smarty-locator-map .leaflet-popup-tip {
  border-radius: 0;
}

.smarty-locator-map .leaflet-popup-content {
  font-size: .92rem;
  line-height: 1.45;
}

.smarty-locator-map .leaflet-popup-content a {
  color: var(--smarty-locator-gold);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .smarty-locator-grid {
    grid-template-columns: 1fr;
  }

  .smarty-locator-map {
    order: 1;
    height: 430px;
  }

  .smarty-locator-list {
    order: 2;
    height: 480px;
  }
}
