:root {
  --gold: #bd9e70;
  --gold-soft: #f6f1e8;
  --bg: #f6f6f6;
  --bg-soft: #efefef;
  --text: #1f1f1f;
  --muted: #7a7a7a;
  --stroke: #d8d8d8;
  --stroke-strong: #d9cfbf;
  --surface: #ffffff;
  --surface-muted: #f7f3ed;
  --surface-subtle: #f2f2f2;
  --text-inverse: #ffffff;
  --star-inactive: #d4d4d4;
  --overlay: rgba(0, 0, 0, 0.45);
  --modal-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --logo-ring: #ffffff;
  --focus-ring: rgba(189, 158, 112, 0.35);
  --focus-soft: rgba(189, 158, 112, 0.18);
  --button-glow: rgba(189, 158, 112, 0.28);
  --toast-bg: #1f1f1f;
  --toast-text: #ffffff;
  --shadow-soft: 0 10px 30px rgba(31, 31, 31, 0.08);
  --shadow-card: 0 8px 22px rgba(31, 31, 31, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --font: "Manrope", "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  --gold-soft: #2d261d;
  --bg: #0f1523;
  --bg-soft: #0b1220;
  --text: #e8eefb;
  --muted: #9fafca;
  --stroke: #334766;
  --stroke-strong: #465d82;
  --surface: #14243c;
  --surface-muted: #1a2c47;
  --surface-subtle: #182943;
  --text-inverse: #111826;
  --star-inactive: #70809f;
  --overlay: rgba(0, 0, 0, 0.62);
  --modal-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --logo-ring: #1a2b47;
  --focus-ring: rgba(108, 132, 178, 0.32);
  --focus-soft: rgba(108, 132, 178, 0.24);
  --button-glow: rgba(189, 158, 112, 0.2);
  --toast-bg: #0d1628;
  --toast-text: #d9e4f8;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font);
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}

.gs-container {
  width: min(1680px, calc(100% - 40px));
  margin: 24px auto 40px;
}

.gs-preview-container {
  width: min(1560px, calc(100% - 24px));
  margin: 14px auto 28px;
}

.gs-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.gs-preview-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.gs-preview-title {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.3vw, 34px);
  letter-spacing: -0.025em;
  color: var(--text);
}

.gs-preview-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gs-preview-filterbar {
  position: sticky;
  top: 10px;
  z-index: 80;
  margin-top: 0;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.gs-filterbar-tertiary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.gs-btn-soft {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.gs-btn-ghost.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.gs-preview-map-section {
  position: relative;
}

.gs-map-status-row {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9;
  pointer-events: none;
}

.gs-map-status-pill {
  margin: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  border: 1px solid var(--stroke);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}

.gs-map-ops {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.gs-map-ops-stack {
  display: grid;
  gap: 8px;
  pointer-events: auto;
}

.gs-map-op-btn {
  min-height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 140ms ease, border-color 140ms ease;
}

.gs-map-op-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.gs-map-search-area {
  pointer-events: auto;
  min-height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke-strong);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  align-self: center;
}

.gs-map-search-area:hover {
  border-color: var(--gold);
}

.gs-active-filters-wrap {
  margin: 0 4px 10px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 8px;
  background: var(--surface-subtle);
}

.gs-active-filters-title {
  margin: 0 2px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gs-active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gs-active-filter-chip {
  border: 1px solid var(--stroke-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-pill);
  min-height: 34px;
  padding: 0 10px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.gs-active-filter-chip:hover {
  border-color: var(--gold);
}

.gs-active-filter-chip-x {
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
}

.gs-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 4px;
}

.gs-directory-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.gs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.gs-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.gs-subtitle {
  margin: var(--space-4) 0 0;
  font-size: 14px;
  color: var(--muted);
}

.gs-filterbar {
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
  display: grid;
  gap: 10px;
  justify-content: center;
}

.gs-filterbar-main,
.gs-filterbar-secondary {
  display: grid;
  gap: 10px;
  align-items: center;
}

.gs-filterbar-main {
  grid-template-columns: minmax(170px, 200px) minmax(280px, 420px) minmax(170px, 200px) minmax(120px, 150px) minmax(120px, 140px);
}

.gs-filterbar-secondary {
  grid-template-columns: minmax(180px, 240px) minmax(180px, 240px) minmax(100px, 120px);
  justify-content: center;
}

.gs-input,
.gs-btn {
  min-height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
}

.gs-search-wrap {
  position: relative;
  min-width: 0;
}

.gs-search-wrap .gs-input {
  width: 100%;
}

/* ── Real-time search results (autocomplete) ─────────────────────────── */
.gs-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 1px 1px rgba(20, 20, 20, 0.04),
    0 18px 44px -18px rgba(28, 22, 12, 0.32),
    0 8px 18px -12px rgba(28, 22, 12, 0.18);
  overflow: hidden;
  padding: 6px;
  transform-origin: top center;
  animation: gs-sg-in 180ms cubic-bezier(0.22, 1, 0.32, 1) both;
}
@keyframes gs-sg-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gs-sg-list {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gs-sg-list::-webkit-scrollbar { width: 9px; }
.gs-sg-list::-webkit-scrollbar-thumb { background: rgba(28, 22, 12, 0.18); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }

.gs-sg-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.gs-sg-group:first-child { padding-top: 4px; }
.gs-sg-group-n {
  font-weight: 600;
  letter-spacing: 0;
  font-size: 10px;
  color: var(--muted);
  background: rgba(28, 22, 12, 0.06);
  border-radius: 99px;
  padding: 1px 7px;
}

.gs-suggestion-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  transition: background-color 150ms cubic-bezier(0.22, 1, 0.32, 1);
}
.gs-suggestion-item:hover,
.gs-suggestion-item.active {
  background: rgba(189, 158, 112, 0.12);
}

.gs-sg-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(189, 158, 112, 0.14);
  color: var(--gold);
  transition: background-color 150ms ease, transform 200ms cubic-bezier(0.22, 1, 0.32, 1);
}
.gs-sg-ico svg { width: 18px; height: 18px; }
.gs-suggestion-item:hover .gs-sg-ico,
.gs-suggestion-item.active .gs-sg-ico {
  background: rgba(189, 158, 112, 0.22);
  transform: scale(1.04);
}
.gs-sg-ico--area { color: var(--text); background: rgba(28, 22, 12, 0.06); }

.gs-sg-text {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 1px;
}
.gs-suggestion-name {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-sg-hl { background: transparent; color: #9a7c4f; font-weight: 700; padding: 0; border-radius: 0; }
.gs-suggestion-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-sg-go {
  flex: none;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 150ms ease, transform 200ms cubic-bezier(0.22, 1, 0.32, 1), color 150ms ease;
}
.gs-sg-go svg { width: 17px; height: 17px; display: block; }
.gs-suggestion-item:hover .gs-sg-go,
.gs-suggestion-item.active .gs-sg-go {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
}

.gs-sg-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 12px 5px;
  border-top: 1px solid var(--stroke);
  font-size: 11.5px;
  color: var(--muted);
}
.gs-sg-foot kbd {
  font: inherit;
  font-size: 10.5px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 7px;
  border: 1px solid var(--stroke);
  background: rgba(28, 22, 12, 0.04);
  color: var(--text);
}
.gs-sg-foot strong { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .gs-suggestions { animation: none; }
  .gs-suggestion-item, .gs-sg-ico, .gs-sg-go { transition: none; }
}

html[dir="rtl"] .gs-suggestion-item { text-align: right; }
html[dir="rtl"] .gs-sg-go { transform: scaleX(-1) translateX(-5px); }
html[dir="rtl"] .gs-suggestion-item:hover .gs-sg-go,
html[dir="rtl"] .gs-suggestion-item.active .gs-sg-go { transform: scaleX(-1) translateX(0); }

.gs-input {
  width: 100%;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  outline: none;
}

.gs-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--focus-soft);
}

.gs-search::-webkit-search-cancel-button {
  cursor: pointer;
}

.gs-btn {
  padding: 0 18px;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--text-inverse);
  cursor: pointer;
  font-weight: 600;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.gs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px var(--button-glow);
}

.gs-btn:focus-visible,
.gs-page-btn:focus-visible,
.gs-modal-close:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.gs-btn:active {
  transform: scale(0.98);
}

.gs-btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--stroke);
  box-shadow: none;
}

.gs-btn-ghost:hover {
  background: var(--gold-soft);
  box-shadow: none;
}

.gs-btn-full {
  width: 100%;
}

.gs-btn-sm {
  min-height: 34px;
  font-size: 12px;
  padding: 0 12px;
}

.gs-modal-actions .gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gs-map-section {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  position: static;
}

.gs-map {
  width: 100%;
  height: min(62vh, 640px);
  min-height: 420px;
  background: var(--surface-subtle);
}

.gs-list-panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 10px;
  min-width: 0;
}

.gs-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-16);
  margin: 16px 4px 12px;
}

.gs-result-count {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.gs-location-info {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: end;
}

.gs-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}

.gs-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gs-card-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 7.4;
  background: var(--surface-muted);
}

.gs-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-card-logo {
  position: absolute;
  bottom: -16px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--logo-ring);
  background: var(--surface);
  box-shadow: 0 6px 12px rgba(31, 31, 31, 0.15);
  overflow: hidden;
}

.gs-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-inverse);
  background: linear-gradient(160deg, #c8aa7d 0%, #a98356 100%);
}

.gs-card-body {
  padding: 19px 10px 10px;
  display: grid;
  gap: 5px;
}

.gs-card-name {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.gs-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gs-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  background: var(--surface-subtle);
}

.gs-badge-featured {
  border-color: #cfb185;
  background: #f7efdf;
  color: #8d6a3f;
}

body[data-theme="dark"] .gs-badge-featured {
  border-color: #866842;
  background: #2d261d;
  color: #d4ba95;
}

.gs-store-hint {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.gs-card-area {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-open-state {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.gs-open-state.is-open {
  color: #15803d;
}

.gs-open-state.is-closed {
  color: #dc2626;
}

.gs-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 18px;
}

.gs-star {
  color: var(--star-inactive);
  font-size: 13px;
  line-height: 1;
}

.gs-star.active {
  color: var(--gold);
}

.gs-rating-text {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.gs-distance-text {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.gs-card .gs-btn {
  margin-top: 4px;
  min-height: 36px;
  font-size: 13px;
  padding: 0 12px;
}

.gs-empty {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px dashed var(--stroke-strong);
  border-radius: var(--radius-lg);
  padding: 30px 18px;
  text-align: center;
  color: var(--muted);
}

.gs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gs-my-business-wrap {
  margin-top: 8px;
  text-align: center;
}

.gs-link-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 6px;
}

.gs-link-btn:hover {
  color: var(--gold);
}

.gs-page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 12px;
}

.gs-page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-inverse);
}

.gs-page-ellipsis {
  color: var(--muted);
  padding: 0 4px;
}

.gs-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1200;
}

.gs-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.gs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
}

.gs-modal-card {
  position: relative;
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: auto;
  border: 1px solid var(--stroke);
  box-shadow: var(--modal-shadow);
  z-index: 1;
}

.gs-modal-card-sm {
  width: min(520px, calc(100% - 24px));
}

.gs-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

.gs-modal-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 7;
  background: var(--surface-muted);
}

.gs-modal-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-modal-logo-wrap {
  position: absolute;
  left: 20px;
  bottom: -32px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--logo-ring);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.gs-modal-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-modal-body {
  padding: 44px 20px 20px;
}

.gs-modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.gs-modal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke-strong);
  background: var(--surface-subtle);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.gs-modal-open-state.is-open {
  color: #166534;
  border-color: #86efac;
  background: #ecfdf3;
}

.gs-modal-open-state.is-closed {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.gs-modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.gs-modal-actions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gs-action-icon {
  display: inline-flex;
  width: 16px;
  justify-content: center;
  margin-inline-end: 8px;
  font-size: 13px;
}

.gs-modal-name {
  margin: 0;
  font-size: 24px;
  color: var(--gold);
}

.gs-modal-area {
  margin: 8px 0 12px;
  color: var(--muted);
}

.gs-modal-row {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.gs-modal-row a {
  color: var(--gold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.gs-modal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.gs-modal-fact {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--surface-subtle);
  padding: 8px 10px;
  display: grid;
  gap: 3px;
}

.gs-modal-fact-label {
  font-size: 11px;
  color: var(--muted);
}

.gs-modal-fact-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.gs-modal-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.gs-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--surface-subtle);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.gs-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gs-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 12px);
  background: var(--toast-bg);
  color: var(--toast-text);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1400;
}

.hidden {
  display: none !important;
}

.gs-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.maplibregl-popup-content {
  border-radius: 16px;
  font-family: var(--font);
}

.maplibregl-ctrl-group {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-card);
}

.gs-user-marker {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.gs-user-marker-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(66, 133, 244, 0.28);
  animation: gs-user-pulse 1.8s ease-out infinite;
}

.gs-user-marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4285f4;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.34);
  z-index: 1;
}

@keyframes gs-user-pulse {
  0% {
    transform: scale(0.75);
    opacity: 0.95;
  }
  70% {
    transform: scale(2.1);
    opacity: 0;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

html[dir="rtl"] .gs-modal-close {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .gs-modal-logo-wrap {
  left: auto;
  right: 20px;
}

html[dir="rtl"] .gs-location-info {
  text-align: start;
}

html[dir="rtl"] .gs-suggestion-item {
  text-align: right;
}

html[dir="rtl"] .gs-map-status-row {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .gs-map-ops {
  right: auto;
  left: 12px;
}

@media (min-width: 1080px) {
  .gs-directory-layout {
    grid-template-columns: 430px minmax(0, 1fr);
    align-items: stretch;
  }

  .gs-map-section {
    grid-column: 2;
    height: calc(100vh - 180px);
    min-height: 620px;
  }

  .gs-map {
    height: 100%;
    min-height: 100%;
  }

  .gs-list-panel {
    grid-column: 1;
    max-height: calc(100vh - 180px);
    min-height: 620px;
    overflow: auto;
    padding: 10px;
  }

  .gs-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gs-list-panel .gs-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 112px;
  }

  .gs-list-panel .gs-card-cover-wrap {
    aspect-ratio: auto;
    height: 100%;
    min-height: 112px;
  }

  .gs-list-panel .gs-card-logo {
    display: none;
  }

  .gs-list-panel .gs-card-body {
    padding: 9px 11px;
    gap: 4px;
  }

  .gs-list-panel .gs-card-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
  }

  .gs-list-panel .gs-card-area {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
  }

  .gs-list-panel .gs-stars {
    min-height: 16px;
  }
}

@media (max-width: 1500px) {
  .gs-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1220px) {
  .gs-filterbar-main {
    grid-template-columns: 1fr 1.3fr 1fr 0.8fr 0.8fr;
  }

  .gs-filterbar-secondary {
    grid-template-columns: 1fr 1fr 120px;
  }

  .gs-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .gs-container {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .gs-preview-container {
    width: calc(100% - 14px);
    margin-top: 8px;
  }

  .gs-filterbar-main,
  .gs-filterbar-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-filterbar-tertiary {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .gs-filterbar-tertiary .gs-btn {
    flex: 1 1 calc(50% - 6px);
  }

  .gs-map {
    height: 500px;
    min-height: 360px;
  }

  .gs-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gs-header {
    align-items: flex-start;
  }

  .gs-container {
    width: calc(100% - 12px);
  }

  .gs-filterbar {
    gap: 8px;
    margin-top: 12px;
  }

  .gs-filterbar-main,
  .gs-filterbar-secondary {
    grid-template-columns: 1fr;
  }

  .gs-filterbar-tertiary {
    flex-direction: column;
    align-items: stretch;
  }

  .gs-preview-head {
    margin-bottom: 10px;
  }

  .gs-preview-subtitle {
    font-size: 12px;
  }

  .gs-results-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .gs-map-status-row {
    top: 10px;
    left: 10px;
  }

  .gs-map-status-pill {
    min-height: 32px;
    font-size: 11px;
    padding: 0 10px;
  }

  .gs-map-ops {
    top: auto;
    bottom: 12px;
    right: 10px;
  }

  html[dir="rtl"] .gs-map-ops {
    right: auto;
    left: 10px;
  }

  .gs-map-op-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .gs-map-search-area {
    min-height: 36px;
    font-size: 11px;
    padding: 0 12px;
  }

  .gs-map {
    height: 420px;
  }

  .gs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-modal-actions-grid {
    grid-template-columns: 1fr;
  }

  .gs-modal-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gs-cards {
    grid-template-columns: 1fr;
  }
}

/* Google-like top control strip for preview + embeds */
.gs-map-topbar {
  position: sticky;
  top: 10px;
  z-index: 90;
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .gs-map-topbar {
  background: rgba(20, 36, 60, 0.92);
}

.gs-map-topbar .gs-filterbar-main {
  grid-template-columns:
    minmax(106px, 142px)
    minmax(280px, 1fr)
    minmax(126px, 150px)
    minmax(126px, 150px)
    minmax(120px, 144px)
    54px;
  gap: 10px;
}

.gs-map-topbar .gs-filterbar-secondary {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.gs-map-topbar-secondary .gs-input,
.gs-map-topbar-secondary .gs-btn {
  min-height: 40px;
  font-size: 13px;
}

.gs-map-topbar-secondary .gs-input {
  width: min(190px, 100%);
}

.gs-map-topbar-pill {
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border-color: var(--stroke);
}

.gs-map-topbar-select {
  min-height: 44px;
  font-weight: 600;
}

.gs-map-topbar-search {
  position: relative;
}

.gs-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

html[dir="rtl"] .gs-search-icon {
  left: auto;
  right: 14px;
}

.gs-map-topbar-search .gs-search {
  min-height: 44px;
  padding-inline-start: 44px;
}

html[dir="rtl"] .gs-map-topbar-search .gs-search {
  padding-inline-start: 14px;
  padding-inline-end: 38px;
}

.gs-map-avatar-btn {
  width: 44px;
  min-height: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, #f3f3f3 0%, #d9d9d9 100%);
  color: #2b2b2b;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease;
}

body[data-theme="dark"] .gs-map-avatar-btn {
  background: linear-gradient(145deg, #304564 0%, #1c2d48 100%);
  color: #e8eefb;
}

.gs-map-avatar-btn:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.gs-map-avatar-btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.gs-directory-layout {
  grid-template-columns: 1fr;
  gap: 12px;
}

.gs-map-section {
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.gs-map {
  height: min(68vh, 760px);
  min-height: 460px;
}

.gs-list-panel {
  border-radius: 20px;
}

.gs-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gs-map-status-row {
  top: 14px;
  left: 14px;
}

.gs-map-ops {
  top: auto;
  right: 12px;
  bottom: 18px;
}

html[dir="rtl"] .gs-map-ops {
  right: auto;
  left: 12px;
}

@media (max-width: 1120px) {
  .gs-map-topbar .gs-filterbar-main {
    grid-template-columns: minmax(96px, 1fr) minmax(220px, 1.8fr) repeat(3, minmax(112px, 1fr)) 50px;
  }

  .gs-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .gs-map-topbar .gs-filterbar-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-map-topbar-search {
    grid-column: 1 / -1;
  }

  .gs-map-topbar-secondary {
    justify-content: stretch;
  }

  .gs-map-topbar-secondary .gs-input,
  .gs-map-topbar-secondary .gs-btn {
    flex: 1 1 calc(50% - 4px);
    width: auto;
  }

  .gs-map {
    height: 560px;
    min-height: 400px;
  }
}

@media (max-width: 640px) {
  .gs-map-topbar {
    padding: 10px;
    border-radius: 999px;
  }

  .gs-map-topbar .gs-filterbar-main {
    grid-template-columns: 1fr;
  }

  .gs-map-topbar-secondary .gs-input,
  .gs-map-topbar-secondary .gs-btn {
    flex: 1 1 100%;
  }

  .gs-map {
    height: 460px;
    min-height: 360px;
  }

  .gs-map-ops {
    right: 10px;
    bottom: 12px;
  }

  html[dir="rtl"] .gs-map-ops {
    left: 10px;
    right: auto;
  }
}

/* Exact screenshot map UI (top row + map canvas + collapsed results strip) */
.gs-map-shot {
  width: 100%;
  margin: 0;
  padding: 10px 0 0;
  --gs-map-desktop-scale: 0.85;
  --gs-map-shell-max-width: calc(1520px * var(--gs-map-desktop-scale));
  --gs-map-shell-gutter: calc(48px * var(--gs-map-desktop-scale));
  --gs-map-topbar-height: calc(90px * var(--gs-map-desktop-scale));
  --gs-map-topbar-control-height: calc(56px * var(--gs-map-desktop-scale));
  --gs-map-drawer-collapsed-height: calc(90px * var(--gs-map-desktop-scale));
  --gs-map-drawer-toggle-size: calc(56px * var(--gs-map-desktop-scale));
}

.gs-map-shot .gs-preview-head {
  display: none;
}

.gs-map-shot .gs-map-topbar {
  position: fixed;
  top: calc(12px * var(--gs-map-desktop-scale));
  left: 50%;
  right: auto;
  width: min(calc(100vw - var(--gs-map-shell-gutter)), var(--gs-map-shell-max-width));
  max-width: calc(100vw - var(--gs-map-shell-gutter));
  transform: translateX(-50%);
  z-index: 120;
  margin: 0;
  min-height: var(--gs-map-topbar-height);
  padding: calc(16px * var(--gs-map-desktop-scale)) calc(22px * var(--gs-map-desktop-scale));
  border-radius: calc(66px * var(--gs-map-desktop-scale));
  border: 1px solid #d9d9df;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
}

body.gs-map-fullscreen {
  overflow: hidden;
}

body.gs-map-fullscreen .gs-map-shot {
  position: fixed;
  inset: 0;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.gs-map-fullscreen .gs-map-shot .gs-directory-layout {
  width: 100vw !important;
  height: 100dvh !important;
}

body.gs-map-fullscreen .gs-map-shot .gs-map-section {
  height: 100% !important;
  min-height: 100% !important;
}

body.gs-map-fullscreen .gs-map-shot .gs-map {
  height: 100% !important;
  min-height: 100% !important;
}

.gs-map-shot .gs-map-topbar .gs-filterbar-main {
  grid-template-columns:
    calc(56px * var(--gs-map-desktop-scale))
    minmax(calc(160px * var(--gs-map-desktop-scale)), calc(220px * var(--gs-map-desktop-scale)))
    minmax(calc(360px * var(--gs-map-desktop-scale)), 1fr)
    minmax(calc(320px * var(--gs-map-desktop-scale)), calc(500px * var(--gs-map-desktop-scale)))
    calc(56px * var(--gs-map-desktop-scale));
  gap: calc(14px * var(--gs-map-desktop-scale));
  align-items: center;
  justify-items: stretch;
}

.gs-map-shot .gs-map-hidden-row {
  display: none !important;
}

.gs-map-shot .gs-map-topbar .gs-input,
.gs-map-shot .gs-map-topbar .gs-btn {
  min-height: var(--gs-map-topbar-control-height);
  border-radius: calc(32px * var(--gs-map-desktop-scale));
  border: 1px solid #d2d4dc;
  background: #ffffff;
  color: #1e1e1e;
  font-size: calc(17px * var(--gs-map-desktop-scale));
  font-weight: 500;
  padding: 0 calc(22px * var(--gs-map-desktop-scale));
}

.gs-map-shot .gs-map-topbar-search .gs-search {
  border-color: #d2d4dc;
  background: #ffffff;
  padding-inline-start: calc(72px * var(--gs-map-desktop-scale));
}

.gs-map-shot .gs-search-icon {
  left: calc(26px * var(--gs-map-desktop-scale));
  font-size: calc(30px * var(--gs-map-desktop-scale));
  line-height: 1;
  color: var(--gold);
}

.gs-map-shot .gs-map-topbar-select {
  border-color: #d2d4dc;
  background: #ffffff;
  min-height: var(--gs-map-topbar-control-height);
  border-radius: calc(32px * var(--gs-map-desktop-scale));
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-inline-start: calc(18px * var(--gs-map-desktop-scale));
  padding-inline-end: calc(44px * var(--gs-map-desktop-scale));
  background-image:
    linear-gradient(45deg, transparent 50%, #2f3338 50%),
    linear-gradient(135deg, #2f3338 50%, transparent 50%);
  background-position:
    calc(100% - calc(24px * var(--gs-map-desktop-scale))) 50%,
    calc(100% - calc(17px * var(--gs-map-desktop-scale))) 50%;
  background-size:
    calc(7px * var(--gs-map-desktop-scale)) calc(7px * var(--gs-map-desktop-scale)),
    calc(7px * var(--gs-map-desktop-scale)) calc(7px * var(--gs-map-desktop-scale));
  background-repeat: no-repeat;
}

html[dir="rtl"] .gs-map-shot .gs-map-topbar-select {
  background-position:
    calc(24px * var(--gs-map-desktop-scale)) 50%,
    calc(31px * var(--gs-map-desktop-scale)) 50%;
  padding-inline-start: calc(44px * var(--gs-map-desktop-scale));
  padding-inline-end: calc(18px * var(--gs-map-desktop-scale));
}

.gs-map-shot #emirateFilter.gs-map-topbar-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5 8 10 12 6.5' fill='none' stroke='%232f3338' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: calc(16px * var(--gs-map-desktop-scale)) calc(16px * var(--gs-map-desktop-scale));
  background-position: calc(100% - calc(20px * var(--gs-map-desktop-scale))) 50%;
  padding-inline-end: calc(46px * var(--gs-map-desktop-scale));
}

html[dir="rtl"] .gs-map-shot #emirateFilter.gs-map-topbar-select {
  background-position: calc(20px * var(--gs-map-desktop-scale)) 50%;
  padding-inline-start: calc(46px * var(--gs-map-desktop-scale));
  padding-inline-end: calc(18px * var(--gs-map-desktop-scale));
}

.gs-map-shot .gs-map-topbar-pill {
  border-color: #d2d4dc;
  background: #ffffff;
}

.gs-map-shot .gs-map-filter-segment {
  min-height: var(--gs-map-topbar-control-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border: 1px solid #d2d4dc;
  border-radius: calc(32px * var(--gs-map-desktop-scale));
  background: #ffffff;
  overflow: hidden;
}

.gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill {
  border: 0;
  border-radius: 0;
  min-height: var(--gs-map-topbar-control-height);
  background: transparent;
  padding: 0 calc(34px * var(--gs-map-desktop-scale));
}

.gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill:first-child {
  border-inline-end: 1px solid #dedfe5;
}

.gs-map-shot .gs-map-topbar .gs-map-reset-btn {
  position: relative;
  width: calc(56px * var(--gs-map-desktop-scale));
  min-height: calc(56px * var(--gs-map-desktop-scale));
  height: calc(56px * var(--gs-map-desktop-scale));
  border-radius: 50%;
  border: 1px solid #d2d4dc;
  background-color: #ffffff;
  color: transparent;
  font-size: 0;
  padding: 0;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.12);
}

.gs-map-shot .gs-map-topbar .gs-map-reset-btn::after {
  content: "↺";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-size: calc(26px * var(--gs-map-desktop-scale));
  line-height: 1;
  font-weight: 500;
}

.gs-map-shot .gs-map-topbar .gs-map-reset-btn:hover {
  background-color: #fbf8ee;
}

.gs-map-shot .gs-map-topbar .gs-map-reset-btn:active {
  background-color: rgba(180, 159, 86, 0.16);
}

.gs-map-shot .gs-map-topbar .gs-map-pin-btn {
  position: relative;
  width: calc(56px * var(--gs-map-desktop-scale));
  min-height: calc(56px * var(--gs-map-desktop-scale));
  height: calc(56px * var(--gs-map-desktop-scale));
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: transparent;
  font-size: 0;
  padding: 0;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.18);
}

.gs-map-shot .gs-map-topbar .gs-map-pin-btn::before {
  content: none;
}

.gs-map-shot .gs-map-topbar .gs-map-pin-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(22px * var(--gs-map-desktop-scale));
  height: calc(22px * var(--gs-map-desktop-scale));
  transform: translate(-50%, -50%);
  background: url("/assets/location-pin-white.svg") center / contain no-repeat;
}

.gs-map-shot .gs-map-lang-toggle {
  display: none !important;
}

.gs-map-shot .gs-map-topbar .gs-map-pin-btn:hover,
.gs-map-shot .gs-map-topbar .gs-map-pin-btn:active {
  transform: none;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.18);
}

.gs-map-shot .gs-map-avatar-btn {
  width: 54px;
  min-height: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #c9c9c9;
  background: #efefef url("/assets/logo.svg") center/72% no-repeat;
  color: transparent;
  font-size: 0;
}

.gs-map-shot .gs-directory-layout {
  position: relative;
  grid-template-columns: 1fr;
  gap: 0;
}

.gs-map-shot .gs-map-section {
  position: relative;
  grid-column: 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  min-height: 0;
}

.gs-map-shot .gs-map {
  height: calc(100vh - 8px);
  min-height: 680px;
}

.gs-map-shot .gs-map-status-row {
  display: none;
}

.gs-map-shot .gs-map-ops {
  display: none !important;
  top: 56%;
  bottom: auto;
  right: 34px;
  transform: translateY(-50%);
}

.gs-map-shot .gs-map-op-btn {
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.gs-map-shot .gs-map-op-icon::before {
  content: "◎";
  font-size: 34px;
  line-height: 1;
}

.gs-map-shot .gs-map-op-btn:hover {
  border-color: transparent;
  transform: none;
}

.gs-map-shot .maplibregl-ctrl-bottom-right {
  right: calc(34px * var(--gs-map-desktop-scale));
  top: calc(142px * var(--gs-map-desktop-scale));
  bottom: auto;
}

.gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group {
  display: flex;
  flex-direction: column;
  border: 1px solid #dde2e8;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button {
  width: calc(60px * var(--gs-map-desktop-scale));
  height: calc(58px * var(--gs-map-desktop-scale));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: calc(24px * var(--gs-map-desktop-scale));
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 120ms ease;
}

.gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button:hover {
  background: #fbf8ee;
}

.gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button:active {
  background: rgba(180, 159, 86, 0.2);
  box-shadow: inset 0 0 0 1px rgba(180, 159, 86, 0.45);
  transform: scale(0.98);
}

.gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button:focus-visible {
  background: rgba(180, 159, 86, 0.16);
  box-shadow: inset 0 0 0 2px rgba(180, 159, 86, 0.48);
}

.gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button + button {
  border-top: 1px solid #e4e7ec;
}

.gs-map-shot .gs-list-panel {
  position: absolute;
  grid-column: 1;
  left: 50%;
  right: auto;
  bottom: calc(14px * var(--gs-map-desktop-scale));
  width: min(calc(100vw - var(--gs-map-shell-gutter)), var(--gs-map-shell-max-width));
  max-width: calc(100vw - var(--gs-map-shell-gutter));
  transform: translateX(-50%);
  z-index: 40;
  height: var(--gs-map-drawer-collapsed-height);
  min-height: 0 !important;
  max-height: calc(100vh - 160px);
  overflow: hidden !important;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: calc(14px * var(--gs-map-desktop-scale));
  padding: calc(12px * var(--gs-map-desktop-scale)) calc(20px * var(--gs-map-desktop-scale));
  border-radius: calc(26px * var(--gs-map-desktop-scale));
  border: 1px solid #dce1e6;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.18);
  cursor: pointer;
  transition: height 240ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease, bottom 180ms ease;
}

.gs-map-shot .gs-list-panel.is-expanded {
  height: min(76vh, 780px);
  padding-bottom: calc(104px * var(--gs-map-desktop-scale));
  box-shadow: 0 24px 52px rgba(16, 24, 40, 0.22);
}

.gs-map-shot .gs-list-panel.is-collapsed #cardsGrid,
.gs-map-shot .gs-list-panel.is-collapsed #pagination,
.gs-map-shot .gs-list-panel.is-collapsed .gs-my-business-wrap,
.gs-map-shot .gs-list-panel.is-collapsed #activeFiltersWrap {
  display: none !important;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: auto;
  padding: 2px;
  align-content: start;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-cover-wrap {
  aspect-ratio: auto;
  height: 156px;
  min-height: 156px;
  border-radius: 20px 20px 0 0;
  overflow: visible;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-cover {
  border-radius: 20px 20px 0 0;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-logo {
  width: 77px;
  height: 77px;
  left: 14px;
  bottom: -39px;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-body {
  min-height: 136px;
  padding: 56px 18px 20px;
  row-gap: 12px;
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-name {
  font-size: clamp(17px, 1.04vw, 20px);
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-star {
  font-size: clamp(15px, 0.92vw, 17px);
}

.gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-actions .gs-btn {
  min-width: 103px;
  min-height: 40px;
  font-size: 17px;
  padding: 0 20px;
}

.gs-map-shot .gs-list-panel.is-expanded #pagination,
.gs-map-shot .gs-list-panel.is-expanded .gs-my-business-wrap {
  display: flex;
}

.gs-map-shot .gs-list-panel.is-expanded #pagination {
  position: absolute;
  left: 50%;
  bottom: calc(22px * var(--gs-map-desktop-scale));
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
}

.gs-map-shot .gs-my-business-wrap {
  width: auto;
  justify-content: flex-end;
  text-align: right;
}

.gs-map-shot .gs-results-head {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(14px * var(--gs-map-desktop-scale));
  min-height: calc(64px * var(--gs-map-desktop-scale));
}

.gs-map-shot .gs-result-count {
  margin: 0;
  flex: 1;
  min-height: calc(56px * var(--gs-map-desktop-scale));
  padding: 0 calc(24px * var(--gs-map-desktop-scale));
  border-radius: 999px;
  border: 1px solid #e4e6ea;
  display: inline-flex;
  align-items: center;
  font-size: calc(18px * var(--gs-map-desktop-scale));
  font-weight: 500;
  color: #1c2128;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

.gs-map-shot .gs-location-info {
  display: none;
}

.gs-map-shot .gs-list-indicator {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--gs-map-drawer-toggle-size);
  min-height: var(--gs-map-drawer-toggle-size);
  height: var(--gs-map-drawer-toggle-size);
  border: 2px solid #b8a65e;
  border-radius: 50%;
  background: #ffffff;
  color: transparent;
  font: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.12);
  transition: transform 160ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.gs-map-shot .gs-list-indicator::before {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(1px) rotate(-135deg);
  transition: transform 180ms ease;
}

.gs-map-shot .gs-list-indicator.is-expanded::before {
  transform: translateY(-1px) rotate(45deg);
}

.gs-map-shot .gs-list-indicator:hover {
  transform: none;
}

.gs-map-shot .gs-list-indicator:active {
  background: #fbf8ee;
}

.gs-map-shot .gs-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 30px;
  border: 1px solid #e3e5ea;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.1);
}

.gs-map-shot .gs-card-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  height: auto;
  overflow: visible;
  border-radius: 30px 30px 0 0;
}

.gs-map-shot .gs-card-cover {
  border-radius: 30px 30px 0 0;
}

.gs-map-shot .gs-card-logo {
  display: block;
  width: 130px;
  height: 130px;
  left: 22px;
  bottom: -65px;
  border: 3px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.2);
  z-index: 2;
  pointer-events: none;
}

.gs-map-shot .gs-card-badges,
.gs-map-shot .gs-store-hint,
.gs-map-shot .gs-distance-text,
.gs-map-shot .gs-card-area,
.gs-map-shot .gs-rating-text {
  display: none;
}

.gs-map-shot .gs-card-body {
  min-height: 166px;
  padding: 82px 24px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 14px;
  position: relative;
  align-content: start;
}

.gs-map-shot .gs-card-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.gs-map-shot .gs-card-name {
  color: #171b21;
  font-size: clamp(20px, 1.2vw, 25px);
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.gs-map-shot .gs-open-state {
  position: absolute;
  top: 18px;
  right: 24px;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

html[dir="rtl"] .gs-map-shot .gs-open-state {
  right: auto;
  left: 24px;
  text-align: left;
}

.gs-map-shot .gs-card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gs-map-shot .gs-card-rating-value {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #171b21;
  line-height: 1;
  letter-spacing: 0.01em;
}

.gs-map-shot .gs-stars {
  gap: 5px;
  min-height: 24px;
}

.gs-map-shot .gs-star {
  font-size: clamp(16px, 0.95vw, 22px);
  color: #d1d4d9;
}

.gs-map-shot .gs-star.active {
  color: #b49f56;
}

.gs-map-shot .gs-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-inline-start: auto;
  margin-top: 0;
}

.gs-map-shot .gs-card-actions .gs-btn-ghost {
  display: none;
}

.gs-map-shot .gs-card-actions .gs-btn {
  width: auto !important;
  min-width: 114px;
  max-width: none;
  min-height: 47px;
  border-radius: 999px;
  border: 1px solid #baa063;
  background: #baa063;
  color: #ffffff;
  font-size: clamp(17px, 0.92vw, 22px);
  font-weight: 500;
  padding: 0 24px;
}

.gs-map-shot .gs-pagination {
  margin-top: 2px;
  justify-content: center;
  gap: 10px;
}

.gs-map-shot .gs-page-btn {
  min-width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #e3e6ea;
  background: #f8f9fb;
  color: #1d232b;
  font-size: 18px;
}

.gs-map-shot .gs-page-btn.active {
  border: 2px solid #b49f56;
  background: #ffffff;
  color: #111827;
}

.gs-map-shot .gs-page-ellipsis {
  font-size: 20px;
}

.gs-map-shot .gs-list-panel.is-expanded .gs-my-business-wrap {
  position: absolute;
  right: 28px;
  bottom: 22px;
}

@media (min-width: 1101px) {
  .gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill {
    padding-inline-start: calc(22px * var(--gs-map-desktop-scale));
    padding-inline-end: calc(48px * var(--gs-map-desktop-scale));
    text-indent: calc(2px * var(--gs-map-desktop-scale));
  }
}

.gs-map-shot .gs-link-btn {
  font-size: 14px;
  color: #5b646e;
}

@media (max-width: 1100px) {
  .gs-map-shot {
    --gs-map-topbar-height: 88px;
    --gs-map-topbar-control-height: 50px;
    --gs-map-drawer-collapsed-height: 88px;
    --gs-map-drawer-toggle-size: 52px;
  }

  .gs-map-shot .gs-map-topbar .gs-filterbar-main {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 10px 12px;
  }

  .gs-map-shot .gs-map-topbar .gs-map-reset-btn {
    grid-column: 1;
    justify-self: start;
    width: 52px;
    min-height: 52px;
    height: 52px;
    padding: 0;
  }

  .gs-map-shot .gs-map-topbar-select {
    grid-column: 2;
  }

  .gs-map-shot .gs-map-topbar-search {
    grid-column: 1 / -1;
  }

  .gs-map-shot .gs-map-filter-segment {
    grid-column: 1 / -1;
  }

  .gs-map-shot .gs-map-topbar .gs-input,
  .gs-map-shot .gs-map-topbar .gs-btn {
    min-height: var(--gs-map-topbar-control-height);
    font-size: 15px;
    padding: 0 16px;
  }

  .gs-map-shot .gs-search-icon {
    left: 16px;
    font-size: 24px;
    line-height: 1;
  }

  .gs-map-shot .gs-map-topbar-search .gs-search {
    padding-inline-start: 50px;
  }

  .gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill {
    min-height: var(--gs-map-topbar-control-height);
    padding: 0 20px;
  }

  .gs-map-shot .gs-map-topbar-select {
    min-height: var(--gs-map-topbar-control-height);
    padding-inline-end: 38px;
    background-position:
      calc(100% - 20px) 50%,
      calc(100% - 14px) 50%;
  }

  html[dir="rtl"] .gs-map-shot .gs-map-topbar-select {
    background-position:
      20px 50%,
      26px 50%;
    padding-inline-start: 38px;
    padding-inline-end: 16px;
  }

  .gs-map-shot #emirateFilter.gs-map-topbar-select {
    background-position: calc(100% - 18px) 50%;
    padding-inline-end: 40px;
  }

  html[dir="rtl"] .gs-map-shot #emirateFilter.gs-map-topbar-select {
    background-position: 18px 50%;
    padding-inline-start: 40px;
    padding-inline-end: 16px;
  }

  .gs-map-shot .gs-map-topbar .gs-map-pin-btn {
    grid-column: 3;
    justify-self: end;
    width: 52px;
    min-height: 52px;
    height: 52px;
    padding: 0;
  }

  .gs-map-shot .gs-map {
    height: calc(100vh - 8px);
    min-height: 520px;
  }

  .gs-map-shot .gs-result-count {
    font-size: 16px;
    min-height: 52px;
  }

  .gs-map-shot .gs-list-indicator {
    width: var(--gs-map-drawer-toggle-size);
    min-height: var(--gs-map-drawer-toggle-size);
    height: var(--gs-map-drawer-toggle-size);
    font-size: 0;
  }

  .gs-map-shot .gs-list-indicator::before {
    width: 10px;
    height: 10px;
  }

  .gs-map-shot .gs-list-panel {
    left: 50%;
    right: auto;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    transform: translateX(-50%);
    height: var(--gs-map-drawer-collapsed-height);
    min-height: 0 !important;
    max-height: calc(100vh - 120px);
    padding: 10px 14px;
  }

  .gs-map-shot .gs-map-topbar {
    left: 50%;
    right: auto;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    transform: translateX(-50%);
  }

  .gs-map-shot .gs-list-panel.is-expanded {
    height: min(72vh, 680px);
    padding-bottom: 96px;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-map-shot .gs-card-cover-wrap {
    min-height: 146px;
  }

  .gs-map-shot .gs-card-logo {
    width: 96px;
    height: 96px;
    left: 14px;
    bottom: -48px;
  }

  .gs-map-shot .gs-card-body {
    min-height: 122px;
    padding: 58px 14px 16px;
    row-gap: 10px;
  }

  .gs-map-shot .gs-card-name {
    font-size: clamp(16px, 2.05vw, 21px);
  }

  .gs-map-shot .gs-star {
    font-size: clamp(14px, 1.7vw, 17px);
  }

  .gs-map-shot .gs-card-rating-value {
    font-size: 15px;
  }

  .gs-map-shot .gs-open-state {
    top: 12px;
    right: 14px;
    font-size: 12px;
  }

  html[dir="rtl"] .gs-map-shot .gs-open-state {
    right: auto;
    left: 14px;
  }

  .gs-map-shot .gs-card-actions .gs-btn {
    width: auto !important;
    min-width: 90px;
    min-height: 38px;
    font-size: 15px;
    padding: 0 16px;
  }

  .gs-map-shot .gs-page-btn {
    min-width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .gs-map-shot .gs-list-panel.is-expanded .gs-my-business-wrap {
    right: 18px;
    bottom: 14px;
  }

  .gs-map-shot .gs-list-panel.is-expanded #pagination {
    bottom: 14px;
  }

  .gs-map-shot .gs-link-btn {
    font-size: 14px;
  }

  .gs-map-shot .gs-map-ops,
  .gs-map-shot .maplibregl-ctrl-bottom-right {
    right: 14px;
  }

  .gs-map-shot .maplibregl-ctrl-bottom-right {
    top: 124px;
    bottom: auto;
  }
}

@media (max-width: 640px) {
  .gs-map-shot {
    --gs-map-topbar-control-height: 56px;
    --gs-map-drawer-collapsed-height: 236px;
    --gs-map-drawer-toggle-size: 37px;
    --gs-map-mobile-drawer-bottom-gap: calc(env(safe-area-inset-bottom, 0px) + 64px);
  }

  .gs-map-shot .gs-map-topbar {
    top: 10px;
    left: 50%;
    right: auto;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    transform: translateX(-50%);
    padding: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .gs-map-shot .gs-map-topbar .gs-filterbar-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px;
    gap: 12px;
    align-items: center;
  }

  .gs-map-shot .gs-map-lang-toggle {
    display: none !important;
  }

  .gs-map-shot .gs-map-topbar-search {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gs-map-shot .gs-map-topbar .gs-map-reset-btn {
    display: block !important;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 46px;
    min-height: 46px;
    height: 46px;
    border: 1px solid #d5d8de;
    border-radius: 50%;
    background-color: #f7f8fa;
    background-image: url("/assets/top-right-reset-mark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
  }

  .gs-map-shot .gs-map-topbar .gs-map-reset-btn::after {
    content: "";
  }

  .gs-map-shot .gs-map-topbar-search .gs-search {
    min-height: 46px;
    border-radius: 999px;
    padding-inline-start: 46px;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
  }

  .gs-map-shot .gs-search-icon {
    left: 15px;
    font-size: 24px;
  }

  .gs-map-shot #emirateFilter.gs-map-topbar-select {
    grid-column: 1;
    grid-row: 2;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 5.5 7 9l3.5-3.5' fill='none' stroke='%23373b40' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: calc(100% - 14px) 50%;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
    color: #1f2328;
    font-weight: 500;
    font-size: 13px;
    padding-inline-start: 14px;
    padding-inline-end: 32px;
  }

  .gs-map-shot .gs-map-topbar-select {
    min-height: 46px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1.5px solid #70757a;
    border-radius: 999px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 5.5 7 9l3.5-3.5' fill='none' stroke='%23373b40' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: calc(100% - 16px) 50%;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
    color: #1f2328;
    font-weight: 500;
    padding-inline-start: 16px;
    padding-inline-end: 40px;
    font-size: 15px;
  }

  html[dir="rtl"] .gs-map-shot .gs-map-topbar-select {
    background-position: 16px 50%;
    padding-inline-start: 40px;
    padding-inline-end: 16px;
  }

  html[dir="rtl"] .gs-map-shot #emirateFilter.gs-map-topbar-select {
    background-position: 14px 50%;
    padding-inline-start: 32px;
    padding-inline-end: 14px;
  }

  .gs-map-shot .gs-map-filter-segment {
    grid-column: 2 / 4;
    grid-row: 2;
    min-height: 0;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
  }

  .gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill {
    min-height: 46px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 5.5 7 9l3.5-3.5' fill='none' stroke='%23373b40' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: calc(100% - 16px) 50%;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
    color: #1f2328;
    font-weight: 500;
    font-size: 13px;
    padding-inline-start: 14px;
    padding-inline-end: 34px;
  }

  .gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill:first-child {
    border-inline-end: 0;
  }

  html[dir="rtl"] .gs-map-shot .gs-map-filter-segment .gs-map-topbar-pill {
    background-position: 16px 50%;
    padding-inline-start: 40px;
    padding-inline-end: 16px;
  }

  .gs-map-shot .gs-map-topbar .gs-map-pin-btn {
    position: fixed;
    right: 18px;
    bottom: calc(var(--gs-map-mobile-drawer-bottom-gap) + var(--gs-map-drawer-collapsed-height) + 20px);
    width: 58px;
    min-height: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.18);
    z-index: 140;
    transition: bottom 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .gs-map-shot.is-drawer-expanded .gs-map-topbar .gs-map-pin-btn {
    bottom: calc(var(--gs-map-mobile-drawer-bottom-gap) + min(78vh, 680px) + 20px);
  }

  .gs-map-shot .gs-map-topbar .gs-map-pin-btn::before {
    content: none;
  }

  .gs-map-shot .gs-map-topbar .gs-map-pin-btn::after {
    width: 22px;
    height: 22px;
  }

  .gs-map-shot .maplibregl-ctrl-bottom-right {
    display: none;
  }

  .gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group {
    width: 66px;
    border-radius: 32px;
  }

  .gs-map-shot .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group button {
    width: 66px;
    height: 58px;
  }

  .gs-map-shot .gs-list-panel {
    left: 50%;
    right: auto;
    bottom: var(--gs-map-mobile-drawer-bottom-gap);
    width: calc(100vw - 4px);
    max-width: calc(100vw - 4px);
    transform: translateX(-50%);
    height: var(--gs-map-drawer-collapsed-height);
    max-height: calc(100dvh - 150px);
    padding: 18px 16px;
    border-radius: 18px;
    grid-template-rows: auto 1fr auto auto;
    gap: 12px;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 154px;
    overflow: hidden;
    padding: 2px 0 0;
    align-content: start;
    pointer-events: none;
    position: relative;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: none;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card {
    min-height: 176px !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 22px !important;
    border: 1px solid #ddd9d2 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08) !important;
    overflow: hidden !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-cover-wrap {
    display: block !important;
    min-height: 96px !important;
    aspect-ratio: 1 / 0.84 !important;
    overflow: visible !important;
    background: #eee7dc !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-cover {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-logo {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    left: 10px !important;
    bottom: -30px !important;
    border-width: 3px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 18px rgba(16, 24, 40, 0.16) !important;
    z-index: 3 !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-body {
    display: grid !important;
    min-height: 84px !important;
    padding: 36px 10px 10px !important;
    row-gap: 6px !important;
    background: #ffffff !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-name {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #171b21 !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-rating-value {
    font-size: 13px !important;
    color: #171b21 !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-stars {
    min-height: 16px !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-star {
    font-size: 12px !important;
  }

  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-open-state,
  .gs-map-shot .gs-list-panel.is-collapsed #cardsGrid .gs-card-actions {
    display: none !important;
  }

  .gs-map-shot .gs-results-head {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 44px;
    margin: 0;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 48px 8px 2px;
    border-bottom: 0;
  }

  .gs-map-shot .gs-result-count {
    flex: 1 1 auto;
    min-height: 0;
    margin-right: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 500;
    color: #1f2328;
  }

  .gs-map-shot .gs-list-indicator {
    position: absolute;
    top: 0;
    right: 2px;
    flex: 0 0 var(--gs-map-drawer-toggle-size);
    width: var(--gs-map-drawer-toggle-size);
    min-height: var(--gs-map-drawer-toggle-size);
    height: var(--gs-map-drawer-toggle-size);
    margin: 0;
    border: 2px solid #b8a65e;
    background: #ffffff;
    box-shadow: none;
  }

  html[dir="rtl"] .gs-map-shot .gs-list-indicator {
    right: auto;
    left: 2px;
  }

  .gs-map-shot .gs-list-indicator::before {
    width: 9px;
    height: 9px;
  }

  .gs-map-shot .gs-list-panel.is-expanded {
    height: min(78vh, 680px);
    padding-bottom: 98px;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    align-content: start;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card {
    min-height: 248px !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 22px !important;
    border: 1px solid #ddd9d2 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.1) !important;
    overflow: hidden !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-cover-wrap {
    display: block !important;
    height: auto !important;
    min-height: 104px !important;
    aspect-ratio: 1 / 0.84 !important;
    border-radius: 22px 22px 0 0 !important;
    overflow: visible !important;
    background: #eee7dc !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-cover {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 22px 22px 0 0 !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-logo {
    display: block !important;
    width: 68px !important;
    height: 68px !important;
    left: 10px !important;
    bottom: -34px !important;
    border-width: 3px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 18px rgba(16, 24, 40, 0.16) !important;
    z-index: 3 !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-body {
    display: grid !important;
    min-height: 144px !important;
    grid-template-rows: auto 1fr auto !important;
    padding: 42px 12px 38px !important;
    row-gap: 10px !important;
    background: #ffffff !important;
    align-content: stretch !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-name-row {
    display: flex !important;
    gap: 8px !important;
    min-width: 0;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-name {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #171b21 !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-rating-row {
    display: grid !important;
    grid-template-columns: auto auto 1fr !important;
    align-items: center !important;
    justify-content: flex-start !important;
    column-gap: 6px !important;
    row-gap: 6px !important;
    flex-wrap: nowrap !important;
    align-self: end !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-rating-value {
    font-size: 13px !important;
    color: #171b21 !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-stars {
    min-height: 16px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-star {
    font-size: 12px !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-open-state {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  html[dir="rtl"] .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-open-state {
    right: auto !important;
    left: 10px !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-actions {
    display: flex !important;
    width: auto !important;
    justify-content: flex-end !important;
    margin-inline-start: auto !important;
    margin-top: 2px !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: end !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #cardsGrid .gs-card-actions .gs-btn {
    width: auto !important;
    min-width: 74px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    padding: 0 14px !important;
    border: 1.5px solid #baa063 !important;
    background: #ffffff !important;
    color: #b08f60 !important;
  }

  .gs-map-shot .gs-list-panel.is-expanded #pagination {
    bottom: 18px;
  }

  .gs-map-shot .gs-list-panel.is-expanded .gs-my-business-wrap {
    right: 16px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   Gold Souq — refined result cards (no gradients, clean + minimal)
   Appended override block. Scoped to the embedded map (.gs-map-shot).
   ===================================================================== */
@font-face {
  font-family: "Josefin GS";
  src: url("../fonts/josefin-sans-latin.woff2") format("woff2");
  font-weight: 300 600; font-style: normal; font-display: swap;
}

.gs-map-shot .gs-cards {
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 14px;
}

.gs-map-shot .gs-card {
  background: #ffffff;
  border: 1px solid #e8e2d6;
  border-radius: 16px;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .22s cubic-bezier(.22,1,.36,1),
              transform .22s cubic-bezier(.22,1,.36,1),
              box-shadow .22s cubic-bezier(.22,1,.36,1);
}
.gs-map-shot .gs-card:hover {
  border-color: #bd9e70;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(34,29,23,.09);
}
.gs-map-shot .gs-card:active { transform: translateY(-1px); }

.gs-map-shot .gs-card-cover-wrap {
  aspect-ratio: 16 / 9;
  background: #f4ecdd;
  border-bottom: 1px solid #efe8da;
}
.gs-map-shot .gs-card-logo {
  width: 46px; height: 46px;
  bottom: -17px; left: 15px;
  border: 3px solid #ffffff;
  box-shadow: 0 5px 14px rgba(34,29,23,.16);
}
.gs-map-shot .gs-initials {
  background: #f4ecdd;
  color: #bd9e70;
  font-family: "Josefin GS", Georgia, serif;
  font-weight: 600;
  font-size: 17px;
}

.gs-map-shot .gs-card-body {
  padding: 26px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.gs-map-shot .gs-card-name-row { margin: 0; }
.gs-map-shot .gs-card-name {
  font-family: "Josefin GS", Georgia, serif;
  font-size: 17px;
  font-weight: 480;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: #221d17;
}
.gs-map-shot .gs-open-state {
  order: -1;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gs-map-shot .gs-open-state.is-open { color: #3f8f4f; }
.gs-map-shot .gs-open-state.is-closed { color: #b08a5a; }

.gs-map-shot .gs-card-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #efe8da;
}
.gs-map-shot .gs-card-rating-value {
  font-family: "Josefin GS", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: #221d17;
}
.gs-map-shot .gs-card-rating-row .gs-stars { gap: 1px; }
.gs-map-shot .gs-star { font-size: 12px; }
.gs-map-shot .gs-star.active { color: #bd9e70; }

/* whole card is the click target — drop the in-card button */
.gs-map-shot .gs-card-actions,
.gs-map-shot .gs-card .gs-btn { display: none !important; }

/* a quiet "view profile" affordance, revealed on hover */
.gs-map-shot .gs-card-rating-row::after {
  content: "View profile";
  margin-inline-start: auto;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #bd9e70;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
}
.gs-map-shot .gs-card:hover .gs-card-rating-row::after {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================================
   FOLDABLES LAYER (map embed) — mirrors the site-wide tiers in site.css
   ========================================================================= */
/* T4 · landscape with scarce height: map fills the dynamic viewport, floating
   chrome hugs the safe area, panels never eat more than 70% of the height. */
@media (orientation: landscape) and (max-height: 500px) {
  html, body, #map { height: 100dvh; }
  .gs-pillbar, .gs-controls, [class*="pill"] { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .gs-results-drawer, .gs-list-panel, #cardsGrid { max-height: 70dvh; }
}
/* T3 · Flip cover ~1:1: the map IS the interface — hide the results drawer,
   keep pins + recenter only (a list is unreadable at this size). */
@media (max-width: 440px) and (max-height: 460px)
       and (min-aspect-ratio: 4/5) and (max-aspect-ratio: 5/4) {
  .gs-results-drawer, .gs-list-panel, .gs-pillbar select, .gs-searchwrap { display: none !important; }
  html, body, #map { height: 100dvh; }
}
/* ══ end FOLDABLES LAYER (map embed) ══ */

/* ── Dropdown affordance for the filter bar ────────────────────────────────
   These selects set `appearance: none` (to kill the chunky native control) but
   at the embed/mobile widths no replacement caret was drawn — so the emirate
   and category filters rendered as plain white pills and read as buttons, not
   dropdowns. One chevron, applied at every width, last in the cascade.

   Scoped to .gs-map-topbar, NOT .gs-map-shot: embed.html (what /directory
   actually iframes) uses `class="gs-container"` on its root, so every
   .gs-map-shot rule in this file silently no-ops there. That mismatch is why
   the caret showed in the standalone app but not on the directory page.

   The !important is not decoration. embed.html's inline block declares
   `.gs-map-topbar .gs-input { background: transparent !important }` — a
   shorthand, so it wipes background-image — and at 0,2,0 it out-specifies
   embed's own `.gs-map-topbar select` chevron (0,1,1), which is why the arrow
   vanished. These selectors are id-scoped (1,1,1) and must be important to
   compete with an important declaration at all.

   Deliberately minimal: a 1.6-weight chevron in soft ink, 12px, with just
   enough inline-end padding to clear the longest label. No fills, no shadows,
   nothing added to the pill itself. */
.gs-map-topbar select#emirateFilter,
.gs-map-topbar select#categoryFilter,
.gs-map-topbar select#ratingFilter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.75 6 7.75l3-3' fill='none' stroke='%236b7075' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 12px 12px !important;
  background-position: calc(100% - 10px) 50% !important;
  /* No !important on padding: the per-breakpoint layouts size these controls
     deliberately, and forcing a value here re-flows the filter grid. Existing
     rules win; this is only a floor for widths that specify nothing. */
  padding-inline-end: 30px;
}

html[dir="rtl"] .gs-map-topbar select#emirateFilter,
html[dir="rtl"] .gs-map-topbar select#categoryFilter,
html[dir="rtl"] .gs-map-topbar select#ratingFilter {
  background-position: 12px 50% !important;
  padding-inline-start: 30px;
}

/* The caret is the only cue, so give it a touch more presence on focus —
   consistent with the site's thin-gold focus treatment, no shadow. */
.gs-map-topbar select#emirateFilter:focus-visible,
.gs-map-topbar select#categoryFilter:focus-visible,
.gs-map-topbar select#ratingFilter:focus-visible {
  outline: none;
  border-color: var(--gold, #bd9e70);
}
