/* Scoped ReleaseV1 correction, loaded after the legacy inline styles. */
/* The map has its own full-width row; dealer content flows in a separate section. */
body.asareh-representation-page .asareh-rep-map-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(20px, 3vw, 40px) !important;
}
body.asareh-representation-page .asareh-rep-dealers-section {
  padding-block: 0 clamp(28px, 4vw, 56px);
}
body.asareh-representation-page .asareh-rep-dealers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
}
body.asareh-representation-page .asareh-rep-dealers-layout > *,
body.asareh-representation-page .asareh-iran-map-stage {
  min-width: 0;
}
body.asareh-representation-page .asareh-rep-dealers-layout > .asareh-dealer-list {
  grid-column: 1 / -1;
  margin: 0 !important;
}
body.asareh-representation-page .asareh-iran-map-canvas {
  width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important;
}
body.asareh-representation-page .asareh-iran-map-image {
  display: block !important; width: 100% !important; height: auto !important; margin: 0 !important;
}
body.asareh-representation-page .asareh-map-pin span,
body.asareh-representation-page .asareh-map-pin::after {
  display: none !important;
}
body.asareh-representation-page .asareh-map-pin {
  width: 24px !important; height: 24px !important; min-width: 0 !important; min-height: 0 !important;
}
body.asareh-representation-page .asareh-map-pin:focus-visible {
  outline: 2px solid #b82024 !important; outline-offset: 5px !important;
}
body.asareh-representation-page .asareh-dealer-card {
  width: 100% !important; min-width: 0 !important; padding: clamp(16px, 2vw, 28px) !important;
  position: static !important; text-align: start !important;
  max-width: none !important; overflow-wrap: anywhere;
}
body.asareh-representation-page .asareh-dealer-info div {
  display: flex !important; flex-wrap: wrap !important; gap: 8px !important;
}
body.asareh-representation-page .asareh-dealer-info span {
  min-width: 0 !important; flex-basis: 100%; overflow-wrap: anywhere;
}
body.asareh-representation-page #asarehDealerPhone { direction: ltr; unicode-bidi: isolate; }
body.asareh-representation-page .asareh-isfahan-dealer-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; background: transparent !important;
}
body.asareh-representation-page .asareh-isfahan-dealer-picker::before {
  content: 'نمایندگی‌های اصفهان' !important; text-align: start !important;
}
html[lang=en] body.asareh-representation-page .asareh-isfahan-dealer-picker::before {
  content: 'Isfahan dealers' !important;
}
body.asareh-representation-page .tochal-dealer-option {
  min-width: 0; padding: 18px; border: 1px solid #e8dfd6; border-radius: 18px; background: #fff;
  text-align: start; overflow-wrap: anywhere;
}
body.asareh-representation-page .asareh-isfahan-dealer-picker button {
  text-align: start !important; min-height: 64px !important; height: auto !important;
  transform: none !important; gap: 12px !important; padding: 12px !important;
}
body.asareh-representation-page .asareh-isfahan-dealer-picker button::after { display: none !important; }
body.asareh-representation-page .asareh-isfahan-dealer-picker button span {
  min-width: 0 !important; white-space: normal !important; overflow-wrap: anywhere;
  font-size: 16px !important; line-height: 1.8 !important;
}
body.asareh-representation-page .tochal-dealer-option ul { padding: 0; margin: 16px 0; list-style: none; }
body.asareh-representation-page .tochal-dealer-option li { margin-block: 10px; line-height: 1.9; }
body.asareh-representation-page .tochal-dealer-option strong { display: inline; }
body.asareh-representation-page .tochal-dealer-option.is-active { border-color: #b82024; }
body.asareh-representation-page .asareh-isfahan-dealer-picker button:focus-visible {
  outline: 2px solid #b82024; outline-offset: 3px;
}
body.asareh-representation-page .tochal-dealer-links { display: flex; flex-wrap: wrap; gap: 12px; }
body.asareh-representation-page .tochal-dealer-links a { color: #a51d23; padding-block: 8px; }
body.asareh-representation-page .asareh-dealer-list { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
body.asareh-representation-page .asareh-dealer-list button {
  min-width: 0 !important; white-space: normal !important; text-align: start !important; overflow-wrap: anywhere;
  opacity: 1 !important;
}
body.asareh-representation-page .asareh-dealer-list button > * { display: block; }
@media (max-width: 900px) {
  body.asareh-representation-page .asareh-rep-dealers-layout { grid-template-columns: minmax(0,1fr); }
  body.asareh-representation-page .asareh-dealer-list { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
  body.asareh-representation-page .asareh-isfahan-dealer-picker,
  body.asareh-representation-page .asareh-dealer-list { grid-template-columns: minmax(0,1fr) !important; }
}
