.directory-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 16px 0 10px;
  color: inherit;
  font: inherit;
}
.directory-tools label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.directory-tools select {
  min-height: 44px;
  min-width: 180px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  padding: 8px 34px 8px 11px;
  font: inherit;
}
.directory-tools select:focus-visible,
.directory-table button:focus-visible,
.directory-details summary:focus-visible,
.directory-compare button:focus-visible,
.directory-compare a:focus-visible {
  outline: 3px solid #C2410C;
  outline-offset: 3px;
}
.hero-cta .btn { min-height: 44px; background: #C2410C !important; color: #fff !important; }
.hero-cta .btn:hover { background: #9A3412 !important; }
.btn-primary { min-height: 44px; background: #C2410C !important; background-image: none !important; color: #fff !important; }
.btn-primary:hover { background: #9A3412 !important; }
.directory-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: inherit;
  font: inherit;
}
.directory-table th,
.directory-table td { padding: 13px 14px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.directory-table thead th { background: #f9fafb; color: #374151; font-size: 12px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.directory-table thead th:first-child { border-radius: 8px 0 0; }
.directory-table thead th:last-child { border-radius: 0 8px 0 0; }
.directory-table thead button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; color: inherit; padding: 4px 0; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.directory-table thead button:hover { color: #C2410C; }
.directory-table tbody tr[data-directory-row]:nth-child(even) { background: #f9fafb; }
.directory-table tbody tr[data-directory-row]:hover { background: #f3f4f6; }
.directory-table .directory-name { font-weight: 700; }
.directory-table .directory-name a,
.directory-table .directory-name a:visited { color: inherit; text-decoration: none; }
.directory-table .directory-name a:hover { color: #C2410C; text-decoration: underline; }
.directory-tag { display: inline-block; margin: 1px 3px 3px 0; padding: 3px 7px; border-radius: 4px; background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 600; }
.directory-details summary { display: inline-flex; align-items: center; min-height: 44px; color: #9A3412; font-weight: 700; cursor: pointer; text-decoration: underline; text-decoration-color: #C2410C; text-underline-offset: 3px; }
.directory-detail-body { max-width: 520px; padding: 7px 0 3px; color: #4b5563; font-size: 13px; }
.directory-detail-body p { margin: 7px 0; }
.directory-detail-body p span { color: #6b7280; }
.directory-compare { margin-top: 12px; }
.directory-compare button,
.directory-compare a { min-height: 44px; }
.cmp-btn:not(.on) { color: #C2410C !important; border-color: #C2410C !important; }
.cmp-btn { min-height: 44px !important; font-family: inherit !important; }
.cmp-btn:hover { color: #9A3412 !important; border-color: #9A3412 !important; }
.cmp-btn.on { color: #fff !important; background: #C2410C !important; border-color: #C2410C !important; }
.cmp-go { min-height: 44px; background: #C2410C !important; font-family: inherit !important; }
.cmp-go:hover { background: #9A3412 !important; }
.cmp-chip button { min-width: 44px; min-height: 44px; }
.directory-group th { padding: 10px 14px; background: #f3f4f6; color: #374151; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.directory-group span { color: #6b7280; }
.directory-no-results { margin: 14px 0; padding: 18px; border: 1px dashed #d1d5db; border-radius: 8px; background: #f9fafb; color: #374151; }
.directory-table [hidden],
.directory-no-results[hidden] { display: none !important; }
@media (max-width: 640px) {
  .directory-table { min-width: 0; width: 100%; max-width: 100%; }
  .directory-table,
  .directory-table tbody,
  .directory-table tr[data-directory-row],
  .directory-table td,
  .directory-table th.directory-name { display: block; width: 100%; }
  .directory-table { table-layout: auto; }
  .directory-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .directory-table tbody tr[data-directory-row] { margin: 0 0 10px; padding: 8px 13px 11px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
  .directory-table tbody tr[data-directory-row]:nth-child(even) { background: #fff; }
  .directory-table th.directory-name { padding: 7px 2px 8px; border-bottom: 1px solid #e5e7eb; font-size: 16px; }
  .directory-table td { display: grid; grid-template-columns: minmax(74px, 25%) minmax(0, 1fr); gap: 10px; padding: 8px 2px; border-bottom: 0; }
  .directory-table td::before { content: attr(data-label); color: #6b7280; font-size: 11px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
  .directory-table .directory-group { margin: 12px 0 8px; }
  .directory-table .directory-group th { width: 100%; border-radius: 8px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .directory-table th, .directory-table td { padding: 11px 9px; font-size: 13px; }
  .directory-table th:first-child, .directory-table td:first-child { width: 24%; }
}
