/* Centre Locator shortcode – Find a Centre Near You */
.ma-locator-wrap {
  font-family: 'Red Hat Display', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.ma-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding: 44px 48px 36px;
}

.ma-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.ma-heading svg { flex-shrink: 0; width: 32px; height: 32px; }
.ma-heading h2 { font-size: 26px; font-weight: 800; color: #1a1a2e; line-height: 1.2; }

.ma-search-row { display: flex; gap: 12px; margin-bottom: 10px; }
.ma-search-input-wrap { flex: 1; position: relative; }
.ma-search-input-wrap svg {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: #aaa; width: 20px; height: 20px; pointer-events: none;
}
.ma-search-input {
  width: 100%; height: 54px;
  border: 2px solid #e8e8e8; border-radius: 50px;
  padding: 0 48px 0 22px;
  font-family: inherit; font-size: 15px; color: #333;
  background: #f8f8f8; outline: none; transition: border-color 0.2s;
}
.ma-search-input:focus { border-color: #d71635; background: #fff; }
.ma-search-input::placeholder { color: #aaa; }
.ma-search-btn {
  height: 54px; padding: 0 28px;
  background: #d71635; color: #fff; border: none; border-radius: 8px;
  font-family: inherit; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: filter 0.2s, transform 0.1s;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.ma-search-btn:hover { filter: brightness(0.88); }
.ma-search-btn:active { transform: scale(0.97); }
.ma-search-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ma-search-btn.loading { opacity: 0.7; pointer-events: none; }

.ma-search-status {
  font-size: 13px; color: #888; margin-bottom: 16px;
  min-height: 20px; display: flex; align-items: center; gap: 8px;
}
.ma-search-status.radius-active { color: #d71635; font-weight: 600; }
.ma-spinner {
  width: 14px; height: 14px;
  border: 2px solid #e0e0e0; border-top-color: #d71635;
  border-radius: 50%; animation: ma-spin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes ma-spin { to { transform: rotate(360deg); } }

.ma-no-results { display: none; text-align: center; padding: 20px 0 10px; color: #888; font-size: 15px; }
.ma-no-results a { color: #d71635; }

.ma-tabs-nav { display: flex; border-bottom: 2px solid #e8e8e8; margin-bottom: 28px; }
.ma-tab-btn {
  background: none; border: none; padding: 10px 28px 14px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: #555;
  cursor: pointer; position: relative; letter-spacing: 0.5px; transition: color 0.2s;
}
.ma-tab-btn::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 3px; background: transparent; border-radius: 2px 2px 0 0; transition: background 0.2s;
}
.ma-tab-btn.active { color: #d71635; }
.ma-tab-btn.active::after { background: #d71635; }
.ma-tab-btn:hover:not(.active) { color: #1a1a2e; }
.ma-tab-count {
  display: inline-block; background: #f0f0f0; color: #888;
  font-size: 11px; font-weight: 700; border-radius: 20px;
  padding: 1px 7px; margin-left: 6px; vertical-align: middle;
}
.ma-tab-btn.active .ma-tab-count { background: #fde8eb; color: #d71635; }

.ma-tab-panel { display: none; }
.ma-tab-panel.active { display: block; }
.ma-locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; min-height: 80px; }
.ma-location-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.ma-location-dot { width: 10px; height: 10px; border-radius: 50%; background: #f4a0a8; flex-shrink: 0; }
.ma-location-link { font-size: 15px; font-weight: 600; color: #1a1a2e; text-decoration: none; transition: color 0.2s; }
.ma-location-link:hover { color: #d71635; }
.ma-location-distance { font-size: 12px; font-weight: 500; color: #aaa; margin-left: 4px; }

.ma-expand-wrap { margin-top: 14px; text-align: center; }
.ma-expand-btn {
  background: none; border: none; font-family: inherit;
  font-size: 13px; font-weight: 700; color: #d71635;
  cursor: pointer; letter-spacing: 0.5px; padding: 4px 0; transition: color 0.2s;
}
.ma-expand-btn:hover { text-decoration: underline; }

.ma-view-all-wrap { text-align: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.ma-view-all {
  display: inline-block; font-family: inherit; font-size: 13px; font-weight: 800;
  color: #d71635; text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase;
}
.ma-view-all:hover { text-decoration: underline; }

.ma-social-proof { display: flex; flex-direction: row; align-items: center; gap: 14px; margin-top: 28px; }
.ma-stars { display: flex; flex-direction: row; align-items: center; gap: 3px; flex-shrink: 0; }
.ma-stars svg { width: 22px; height: 22px; display: block; }
.ma-social-text { font-size: 15px; font-weight: 500; color: #555; }
.ma-social-text strong { color: #1a1a2e; font-weight: 700; }

@media (max-width: 600px) {
  .ma-card { padding: 28px 20px 24px; }
  .ma-heading h2 { font-size: 20px; }
  .ma-search-row { flex-direction: column; }
  .ma-search-btn { width: 100%; }
  .ma-locations-grid { grid-template-columns: 1fr; }
  .ma-tab-btn { padding: 10px 16px 14px; font-size: 13px; }
}
