/* ============================================================
   Alpha Stores Map — Frontend Styles
   ============================================================ */

:root {
  --asm-brand:       #dc7626;
  --asm-brand-deep:  #b85a1a;
  --asm-brand-soft:  #ffe4d3;
  --asm-ink:         #1a1a1a;
  --asm-muted:       #6b7280;
  --asm-line:        #e5e7eb;
  --asm-bg:          #f9fafb;
  --asm-card:        #ffffff;
  --asm-radius:      10px;
  --asm-shadow:      0 2px 12px rgba(0,0,0,.08);
  --asm-shadow-lg:   0 8px 32px rgba(0,0,0,.14);
}

/* ── Wrapper ──────────────────────────────────────────────── */
.asm-wrap {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: var(--asm-ink);
  background: var(--asm-bg);
  border-radius: var(--asm-radius);
  overflow: hidden;
  box-shadow: var(--asm-shadow);
  position: relative;
}
.asm-wrap *, .asm-wrap *::before, .asm-wrap *::after { box-sizing: border-box; }

/* ── Top search bar ───────────────────────────────────────── */
.asm-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--asm-card);
  border-bottom: 1px solid var(--asm-line);
  flex-wrap: wrap;
}

.asm-search-box {
  flex: 1 1 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.asm-search-icon {
  position: absolute;
  right: 12px;
  width: 16px; height: 16px;
  color: var(--asm-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.asm-search-input {
  width: 100%;
  padding: 10px 38px 10px 38px;
  border: 1.5px solid var(--asm-line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--asm-ink);
  background: var(--asm-bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.asm-search-input:focus {
  border-color: var(--asm-brand);
  box-shadow: 0 0 0 3px rgba(220,118,38,.15);
  background: #fff;
}
.asm-search-input::placeholder { color: #9ca3af; }

.asm-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--asm-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.asm-search-clear svg { width: 15px; height: 15px; }
.asm-search-clear:hover { color: var(--asm-ink); }

.asm-count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--asm-muted);
  white-space: nowrap;
}

/* ── Skeleton preloader ───────────────────────────────────── */
@keyframes asm-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.asm-list-skeleton {
  padding: 8px 0;
}
.asm-skel-label {
  height: 12px;
  margin: 14px 16px 10px;
  border-radius: 4px;
  width: 80px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: asm-shimmer 1.5s infinite;
}
.asm-skel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.asm-skel-pin {
  width: 30px; height: 30px;
  border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: asm-shimmer 1.5s infinite;
}
.asm-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.asm-skel-line {
  height: 10px; border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: asm-shimmer 1.5s infinite;
}
.asm-skel-line.w70 { width: 70%; }
.asm-skel-line.w65 { width: 65%; }
.asm-skel-line.w60 { width: 60%; }
.asm-skel-line.w58 { width: 58%; }
.asm-skel-line.w75 { width: 75%; }
.asm-skel-line.w55 { width: 55%; }
.asm-skel-line.w52 { width: 52%; }
.asm-skel-line.w50 { width: 50%; }
.asm-skel-line.w48 { width: 48%; }
.asm-skel-line.w45 { width: 45%; }
.asm-skel-line.w42 { width: 42%; }
.asm-skel-line.w40 { width: 40%; }
.asm-skel-line.w38 { width: 38%; }

/* ── Map loader ───────────────────────────────────────────── */
.asm-map-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  z-index: 10;
  transition: opacity .35s ease;
}
.asm-map-loader.asm-fade-out { opacity: 0; pointer-events: none; }

.asm-spinner-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px; height: 90px;
}

@keyframes asm-spin {
  to { transform: rotate(360deg); }
}
.asm-spinner-ring {
  position: absolute;
  inset: 0;
  border: 3px solid #e5e7eb;
  border-top-color: var(--asm-brand);
  border-radius: 50%;
  animation: asm-spin .9s linear infinite;
}
.asm-spinner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Contact bar ──────────────────────────────────────────── */
.asm-contact-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 9px 18px;
  background: var(--asm-brand-soft);
  border-bottom: 1px solid var(--asm-line);
  flex-wrap: wrap;
}
.asm-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--asm-brand-deep);
  text-decoration: none;
  direction: ltr;
}
.asm-contact-link:hover { color: var(--asm-brand); }

/* ── Body layout ──────────────────────────────────────────── */
.asm-body {
  display: flex;
  height: 600px;
}

/* ── List column ──────────────────────────────────────────── */
.asm-list-col {
  width: 340px;
  flex-shrink: 0;
  background: var(--asm-card);
  border-right: 1px solid var(--asm-line);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.asm-list-col::-webkit-scrollbar { width: 4px; }
.asm-list-col::-webkit-scrollbar-thumb { background: var(--asm-brand-soft); border-radius: 3px; }
.asm-list-col::-webkit-scrollbar-track { background: transparent; }

/* ── Country group header ─────────────────────────────────── */
.asm-country-header {
  padding: 14px 16px 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--asm-muted);
  letter-spacing: .8px;
  text-transform: uppercase;
  background: var(--asm-bg);
  border-bottom: 1px solid var(--asm-line);
  position: sticky;
  top: 0;
  z-index: 2;
}

/* ── Branch card ──────────────────────────────────────────── */
.asm-branch-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--asm-line);
  transition: background .15s;
  position: relative;
}
.asm-branch-card:hover { background: #fef6f0; }
.asm-branch-card.active { background: var(--asm-brand-soft); }
.asm-branch-card.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--asm-brand);
  border-radius: 0 3px 3px 0;
}

.asm-card-pin {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--asm-brand-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.asm-card-pin svg { width: 15px; height: 15px; color: var(--asm-brand-deep); }
.asm-branch-card.hq .asm-card-pin { background: var(--asm-brand); }
.asm-branch-card.hq .asm-card-pin svg { color: #fff; }

.asm-card-body { flex: 1; min-width: 0; }

.asm-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--asm-ink);
  line-height: 1.35;
  margin: 0 0 3px;
}
.asm-card-city {
  font-size: 11.5px;
  color: var(--asm-muted);
  font-weight: 500;
  margin: 0 0 6px;
}
.asm-card-hq {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--asm-brand-deep);
  background: var(--asm-brand-soft);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.asm-card-phone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--asm-brand-deep);
  font-weight: 600;
  direction: ltr;
  text-decoration: none;
}
.asm-card-phone svg { width: 11px; height: 11px; flex-shrink: 0; }
.asm-card-phone:hover { color: var(--asm-brand); }

/* ── No results ───────────────────────────────────────────── */
.asm-no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--asm-muted);
  font-size: 13px;
}
.asm-no-results svg { width: 40px; height: 40px; margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; opacity: .4; }

/* ── Map column ───────────────────────────────────────────── */
.asm-map-col { flex: 1; min-width: 0; position: relative; }
.asm-map { width: 100%; height: 100%; background: #e8eaed; }

/* No API key notice */
.asm-no-key {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6;
}
.asm-no-key-inner {
  text-align: center;
  padding: 30px 24px;
  max-width: 320px;
  color: var(--asm-muted);
}
.asm-no-key-inner svg { opacity: .3; margin: 0 auto 14px; }
.asm-no-key-inner p { font-size: 13px; line-height: 1.6; margin: 0; }

/* ── Detail panel ─────────────────────────────────────────── */
.asm-detail {
  position: absolute;
  top: 60px; right: 16px;
  width: 300px;
  background: var(--asm-card);
  border-radius: var(--asm-radius);
  box-shadow: var(--asm-shadow-lg);
  padding: 20px 20px 16px;
  z-index: 20;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  max-height: calc(100% - 80px);
  overflow-y: auto;
}
.asm-detail.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.asm-detail::-webkit-scrollbar { width: 4px; }
.asm-detail::-webkit-scrollbar-thumb { background: var(--asm-brand-soft); border-radius: 3px; }

.asm-detail-close {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: none; border: none; cursor: pointer;
  color: var(--asm-muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.asm-detail-close:hover { background: var(--asm-bg); color: var(--asm-ink); }
.asm-detail-close svg { width: 16px; height: 16px; }

.asm-detail-name {
  font-size: 17px; font-weight: 800;
  color: var(--asm-ink); margin: 0 28px 6px 0;
  line-height: 1.25;
}
.asm-detail-city {
  font-size: 12px; color: var(--asm-muted);
  margin: 0 0 10px; font-weight: 500;
}
.asm-detail-hq {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  color: var(--asm-brand-deep); background: var(--asm-brand-soft);
  padding: 3px 9px; border-radius: 4px;
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.asm-detail-phone {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.asm-detail-phone a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--asm-brand-deep);
  text-decoration: none; direction: ltr;
  padding: 8px 14px;
  background: var(--asm-brand-soft);
  border-radius: 7px;
  transition: background .15s, color .15s;
  width: 100%;
}
.asm-detail-phone a:hover { background: var(--asm-brand); color: #fff; }
.asm-detail-phone a svg { width: 14px; height: 14px; flex-shrink: 0; }

.asm-detail-directions {
  display: flex; align-items: center; gap: 6px;
  justify-content: center;
  padding: 9px 14px;
  background: var(--asm-ink); color: #fff;
  border-radius: 7px; text-decoration: none;
  font-size: 12.5px; font-weight: 700;
  margin-top: 10px;
  transition: background .15s;
}
.asm-detail-directions:hover { background: #333; color: #fff; }
.asm-detail-directions svg { width: 13px; height: 13px; }

/* ── Backdrop (mobile) ────────────────────────────────────── */
.asm-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.asm-backdrop.show { opacity: 1; pointer-events: auto; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .asm-list-col { width: 280px; }
}

@media (max-width: 680px) {
  .asm-body { flex-direction: column; height: auto; }
  .asm-list-col { width: 100%; height: 260px; border-right: none; border-bottom: 1px solid var(--asm-line); }
  .asm-map-col { height: 340px; }
  .asm-map { height: 340px !important; }

  /* Detail becomes bottom sheet on mobile */
  .asm-backdrop { display: block; }
  .asm-detail {
    position: fixed;
    top: auto; right: 0; bottom: 0; left: 0;
    width: 100%; max-height: 75vh;
    border-radius: 16px 16px 0 0;
    padding: 22px 18px 18px;
    transform: translateY(100%);
    opacity: 1;
    z-index: 9999;
    box-shadow: 0 -8px 30px rgba(0,0,0,.2);
  }
  .asm-detail::before {
    content: '';
    position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    background: var(--asm-line); border-radius: 4px;
  }
  .asm-detail.show { transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   SVG Map
   ══════════════════════════════════════════════════════════ */
.asm-svg-map-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f0f2f5;
  position: relative;
  overflow: hidden;
}

/* Filter bar */
.asm-svg-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--asm-brand-soft);
  border-bottom: 1px solid rgba(220,118,38,.2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--asm-brand-deep);
  flex-shrink: 0;
}
.asm-svg-filter-clear {
  margin-left: auto;
  background: none;
  border: 1px solid var(--asm-brand-deep);
  border-radius: 5px;
  color: var(--asm-brand-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.asm-svg-filter-clear:hover { background: var(--asm-brand); color: #fff; border-color: var(--asm-brand); }

/* SVG map element */
.asm-svg-map {
  flex: 1;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: manipulation;
}

/* Context countries (non-clickable) */
.asm-svg-country {
  fill: #e4e6ea;
  stroke: #fff;
  stroke-width: 0.6;
  pointer-events: none;
}
.asm-svg-country.asm-svg-ctx {
  fill: #eceef1;
}

/* Clickable highlighted countries */
.asm-svg-country.asm-svg-hl {
  fill: var(--asm-brand);
  cursor: pointer;
  pointer-events: auto;
  transition: fill .22s ease;
}
.asm-svg-country.asm-svg-hl:hover { fill: var(--asm-brand-deep); }
.asm-svg-country.asm-svg-hl.selected { fill: var(--asm-brand-deep); }

/* Single-country highlight overrides */
.asm-svg-map-wrap.asm-highlight-one .asm-svg-country.asm-svg-hl {
  fill: #e4e6ea; /* Default gray for non-highlighted */
  stroke: #fff;
  stroke-width: 0.6;
  filter: none;
}
.asm-svg-map-wrap.asm-highlight-one .asm-svg-country.asm-svg-hl:hover {
  fill: #d1d5db; /* Subtle gray hover */
}
.asm-svg-map-wrap.asm-highlight-one .asm-svg-country.asm-svg-hl.selected {
  fill: #9ca3af; /* Gray selected state */
}

/* Dynamically color only the chosen country */
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="JOR"] .asm-svg-country.asm-svg-hl[data-iso="JOR"],
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="SAU"] .asm-svg-country.asm-svg-hl[data-iso="SAU"],
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="EGY"] .asm-svg-country.asm-svg-hl[data-iso="EGY"] {
  fill: var(--asm-brand);
}
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="JOR"] .asm-svg-country.asm-svg-hl[data-iso="JOR"]:hover,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="SAU"] .asm-svg-country.asm-svg-hl[data-iso="SAU"]:hover,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="EGY"] .asm-svg-country.asm-svg-hl[data-iso="EGY"]:hover {
  fill: var(--asm-brand-deep);
}
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="JOR"] .asm-svg-country.asm-svg-hl[data-iso="JOR"].selected,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="SAU"] .asm-svg-country.asm-svg-hl[data-iso="SAU"].selected,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="EGY"] .asm-svg-country.asm-svg-hl[data-iso="EGY"].selected {
  fill: var(--asm-brand-deep);
}

/* Glow and outline effects */
/* Default (if highlight-one is NOT enabled, JOR gets the glow) */
.asm-svg-map-wrap:not(.asm-highlight-one) .asm-svg-country.asm-svg-hq,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="JOR"] .asm-svg-country[data-iso="JOR"],
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="SAU"] .asm-svg-country[data-iso="SAU"],
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="EGY"] .asm-svg-country[data-iso="EGY"] {
  stroke: var(--asm-brand-deep);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 5px rgba(184,90,26,.45));
}
.asm-svg-map-wrap:not(.asm-highlight-one) .asm-svg-country.asm-svg-hq:hover,
.asm-svg-map-wrap:not(.asm-highlight-one) .asm-svg-country.asm-svg-hq.selected,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="JOR"] .asm-svg-country[data-iso="JOR"]:hover,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="JOR"] .asm-svg-country[data-iso="JOR"].selected,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="SAU"] .asm-svg-country[data-iso="SAU"]:hover,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="SAU"] .asm-svg-country[data-iso="SAU"].selected,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="EGY"] .asm-svg-country[data-iso="EGY"]:hover,
.asm-svg-map-wrap.asm-highlight-one[data-highlighted-iso="EGY"] .asm-svg-country[data-iso="EGY"].selected {
  filter: drop-shadow(0 0 9px rgba(184,90,26,.7));
}

/* Pins — regular */
.asm-svg-pin { cursor: pointer; }
.asm-svg-pin-halo {
  fill: #fff;
  opacity: .55;
  transition: opacity .2s;
  pointer-events: none;
}
.asm-svg-pin-outer {
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(220,118,38,.4));
  transition: r .2s;
}
.asm-svg-pin-inner {
  fill: var(--asm-brand-deep);
  transition: r .2s;
}
.asm-svg-pin:hover .asm-svg-pin-halo,
.asm-svg-pin.selected .asm-svg-pin-halo { opacity: .85; }
.asm-svg-pin:hover .asm-svg-pin-outer { r: 8.5; }
.asm-svg-pin.selected .asm-svg-pin-outer { fill: var(--asm-brand-deep); }
.asm-svg-pin.selected .asm-svg-pin-inner { fill: #fff; }

/* HQ pin */
.asm-svg-pin-hq {
  transition: filter .2s;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}
.asm-svg-pin-hq:hover,
.asm-svg-pin-hq.selected {
  filter: drop-shadow(0 5px 10px rgba(220,118,38,.55));
}

/* Mobile SVG map */
@media (max-width: 680px) {
  .asm-svg-map-wrap { height: 340px; }
  [dir="rtl"] .asm-svg-filter-bar { flex-direction: row-reverse; }
  [dir="rtl"] .asm-svg-filter-clear { margin-left: 0; margin-right: auto; }
}

/* ── Card click flash animation ───────────────────────────── */
@keyframes asm-card-flash {
  0%   { background: var(--asm-brand-soft); }
  40%  { background: rgba(220,118,38,.28); }
  100% { background: var(--asm-brand-soft); }
}
.asm-branch-card.asm-card-flash { animation: asm-card-flash .4s ease; }

/* ══════════════════════════════════════════════════════════
   RTL / Arabic Support
   ══════════════════════════════════════════════════════════ */

/* Search bar — icon & clear button positions */
[dir="ltr"] .asm-search-icon { right: auto; left: 12px; }
[dir="ltr"] .asm-search-clear { left: auto; right: 10px; }
[dir="rtl"] .asm-search-icon { left: auto; right: 12px; }
[dir="rtl"] .asm-search-clear { right: auto; left: 10px; }
[dir="rtl"] .asm-search-input { padding: 10px 42px 10px 38px; text-align: right; }

/* Topbar count */
[dir="rtl"] .asm-count { direction: rtl; }

/* Body layout — flip list to right, map to left */
[dir="rtl"] .asm-body { flex-direction: row-reverse; }
[dir="rtl"] .asm-list-col {
  border-right: none;
  border-left: 1px solid var(--asm-line);
}

/* Country header */
[dir="rtl"] .asm-country-header { text-align: right; direction: rtl; }

/* Branch card */
[dir="rtl"] .asm-branch-card { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .asm-branch-card.active::before {
  left: auto; right: 0;
  border-radius: 3px 0 0 3px;
}
[dir="rtl"] .asm-card-body { text-align: right; }
[dir="rtl"] .asm-card-hq { display: block; text-align: right; }
[dir="rtl"] .asm-card-phone { direction: ltr; justify-content: flex-end; }
[dir="rtl"] .asm-card-phone svg { order: 2; }

/* Detail panel — flip to left side in RTL */
[dir="rtl"] .asm-detail {
  right: auto;
  left: 16px;
}
[dir="rtl"] .asm-detail-close {
  right: auto;
  left: 10px;
}
[dir="rtl"] .asm-detail-name,
[dir="rtl"] .asm-detail-city { text-align: right; direction: rtl; }
[dir="rtl"] .asm-detail-hq { display: block; text-align: right; }
[dir="rtl"] .asm-detail-phone a { direction: ltr; justify-content: center; }

/* Contact bar */
[dir="rtl"] .asm-contact-bar { flex-direction: row-reverse; }
[dir="rtl"] .asm-contact-link { direction: ltr; }

/* No results */
[dir="rtl"] .asm-no-results { direction: rtl; }

/* Mobile RTL — bottom sheet stays full width (no change needed) */
@media (max-width: 680px) {
  /* RTL mobile: list stays on top, map below */
  [dir="rtl"] .asm-body { flex-direction: column; }
  [dir="rtl"] .asm-list-col {
    border-left: none;
    border-bottom: 1px solid var(--asm-line);
    width: 100%;
  }
}
