/* Dealers page (English). Tokens are the site's own: Poppins, titles #222, text #333, brand blue #005aaa, accent red #ea1e0e. */
.dealers-wrap { background: #f4f6f9; }
.dealers-page { padding: 64px 10px 104px; font-family: Poppins, "Segoe UI", Roboto, Arial, sans-serif; color: #333; }
.dealers-page h1 { margin: 0; font: 700 32px/1.25 Poppins, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.015em; color: #222; }
.dealers-bar { display: block; width: 56px; height: 4px; margin: 18px 0 40px; border-radius: 2px; background: linear-gradient(90deg, #005aaa 0 68%, #ea1e0e 68% 100%); }

/* a table that reads as cards: the rows are grids, table roles are set in the markup */
.dealers-table { display: block; width: 100%; font-size: 15px; line-height: 1.7; }
.dealers-table thead, .dealers-table tbody { display: block; }
.dealers-table tr { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.45fr) minmax(0, 3.5fr) minmax(0, 1.9fr); column-gap: 28px; align-items: start; }
.dealers-table thead tr { padding: 0 32px 12px; }
.dealers-table th { margin: 0; padding: 0; text-align: left; font: 600 12px/1.4 Poppins, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6672; }
.dealers-table tbody tr { position: relative; margin: 0 0 16px; padding: 28px 32px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(10, 25, 41, 0.06), 0 10px 28px rgba(10, 25, 41, 0.07); }
.dealers-table tbody tr::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 3px 3px 0; background: #005aaa; }
.dealers-table td { margin: 0; padding: 0; min-width: 0; color: #333; }
.dealers-table td:first-child { font-size: 18px; line-height: 1.5; font-weight: 600; color: #222; }
.dealers-model { font-weight: 600; color: #222; }

.dealers-where { display: inline-flex; align-items: center; gap: 12px; }
.dealers-where img { flex: none; width: 32px; height: 24px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.12); }

.dealers-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1.5px solid #005aaa; border-radius: 999px; background: transparent; color: #005aaa;
  font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}
.dealers-link:active { transform: scale(0.97); transition: transform 100ms ease-out, background-color 150ms ease, color 150ms ease; }
.dealers-link:focus-visible { outline: 2px solid #005aaa; outline-offset: 3px; }
.dealers-ext { flex: none; }
@media (hover: hover) and (pointer: fine) { .dealers-link:hover { background: #005aaa; color: #fff; } }
.dealers-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .dealers-page { padding: 36px 16px 72px; }
  .dealers-page h1 { font-size: 26px; }
  .dealers-bar { margin: 14px 0 28px; }
  .dealers-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dealers-table tbody tr { display: block; margin-bottom: 14px; padding: 22px 20px 14px; }
  .dealers-table tbody tr::before { top: 14px; bottom: 14px; }
  .dealers-table td { display: grid; grid-template-columns: 6.5rem 1fr; gap: 4px 14px; padding: 7px 0; }
  .dealers-table td::before { content: attr(data-label); font-size: 12px; font-weight: 600; line-height: 2; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6672; }
  .dealers-table td:first-child { display: block; padding: 0 0 6px; font-size: 19px; }
  .dealers-table td:first-child::before { content: none; }
  .dealers-link { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .dealers-link:active { transform: none; } }
