body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

a { color: #0000cc; text-decoration: underline; }
a:visited { color: #551a8b; }
a:hover { color: #0000ee; }

.ico {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #333;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -2px;
  margin-right: 3px;
}

.logo {
  height: 16px;
  width: auto;
  max-width: 90px;
  vertical-align: -3px;
  margin-right: 5px;
}

.logo-large {
  height: 28px;
  width: auto;
  max-width: 180px;
}

.provider-logo { margin: 4px 0 0; }

.linkbtn {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #0000cc;
  text-decoration: underline;
  cursor: pointer;
}
.linkbtn:visited { color: #551a8b; }

#top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #ccc;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

#top .site { font-weight: bold; color: #000; text-decoration: none; }
#top .sep { color: #999; }
#top .spacer { flex: 1; }

.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 10px 40px;
}

h2 { font-size: 18px; margin: 14px 0 8px; }
h3 { font-size: 15px; margin: 16px 0 6px; }
p { margin: 6px 0; }
hr { border: 0; border-top: 1px solid #ccc; margin: 12px 0; }

.summary, .count, .stats { color: #333; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: flex-end;
  margin: 10px 0;
}

.filters label {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: #333;
  font-size: 12px;
}

.filters input, .filters select {
  height: 22px;
  border: 1px solid #999;
  border-radius: 0;
  padding: 1px 3px;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.filters input[type="submit"] {
  background: #eee;
  cursor: pointer;
  padding: 1px 10px;
}

.filters .actions {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  font-size: 12px;
}

th, td {
  border: 1px solid #ccc;
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f0f0;
  font-weight: bold;
  white-space: nowrap;
}

table.facts {
  min-width: 0;
  max-width: 100%;
  width: auto;
}

table.facts th {
  width: 130px;
  background: #f7f7f7;
}

table.facts td { white-space: normal; }

#footer {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #ccc;
  padding: 8px 10px 30px;
  color: #555;
  font-size: 11px;
}

@media (max-width: 700px) {
  body { font-size: 12px; }

  #top { padding: 5px 6px; gap: 4px; }
  #top .spacer { display: none; }
  .langwrap { margin-left: auto; }

  .content { padding: 8px 6px 30px; }

  h2 { font-size: 16px; }
  h3 { font-size: 14px; }

  .filters { display: block; margin: 8px 0; }
  .filters label { display: block; margin-bottom: 6px; }
  .filters input, .filters select { width: 100%; height: 24px; }
  .logo-large { height: 24px; }
  .filters input[type="submit"] { width: auto; }

  /* Mobile: turn data tables into stacked cards instead of a wide scroll. */
  table { font-size: 12px; min-width: 0; display: block; border: 0; }
  thead { display: none; }
  tbody, tr { display: block; }
  tbody tr { border: 1px solid #bbb; margin: 8px 0; padding: 4px 8px; }
  td { display: block; border: 0; border-bottom: 1px dotted #ddd; padding: 4px 0; text-align: left; white-space: normal; }
  td:last-child { border-bottom: 0; }
  td[data-label]::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 88px;
    margin-right: 8px;
    color: #666;
    font-weight: bold;
  }
  table.facts tr { border: 0; margin: 0; padding: 0; }
  table.facts td { border-bottom: 1px dotted #ddd; }
  tbody th { display: block; border: 0; background: none; padding: 5px 0 1px; color: #666; white-space: normal; }
  .table-scroll { overflow-x: visible; }

  #footer { padding: 8px 6px 24px; font-size: 10px; }
}

/* language dropdown */
/* language dropdown — inline in the top nav bar, right aligned */
.langwrap { font-size: 12px; position: relative; }
.langdd { display: inline-block; }
.langdd summary .ico { vertical-align: -3px; margin-right: 4px; }
.langdd summary {
  cursor: pointer;
  list-style: none;
  color: #0000cc;
  text-decoration: underline;
  white-space: nowrap;
}
.langdd summary::-webkit-details-marker { display: none; }
.langdd summary::marker { content: ""; }
.langdd[open] summary { color: #cc0000; }
.langlist {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #999;
  padding: 4px 8px;
  line-height: 1.9;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.15);
}
.langlist a { display: block; white-space: nowrap; }
.langlist .cur { display: block; font-weight: bold; color: #000; }

/* provider mini card on product page */
.provcards { display: flex; flex-wrap: wrap; gap: 16px; }
.provcard { flex: 1 1 260px; min-width: 240px; }
.provcard table.facts { width: 100%; }

.pricenote { color: #1a6b1a; font-size: 13px; }

.muted { color: #777; }

/* product page two-column: specs left, provider card right */
.prodcols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.prodcol { flex: 1 1 340px; min-width: 280px; }

/* compact location chips */
.locchips { line-height: 2.1; }
.locchips .loc {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 1px 7px;
  margin: 2px 4px 2px 0;
  font-size: 12px;
  background: #fafafa;
  white-space: nowrap;
}

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 16px 0 6px; }
.pager a.pg {
  color: #0000cc; text-decoration: underline; cursor: pointer;
  font: inherit; font-size: 13px;
}
.pager a.pg:visited { color: #551a8b; }
.pager a.pg:hover { text-decoration: none; }
.pager .pginfo { font-size: 12px; color: #666; }
