/* Category and company-result pages only; reuse the approved public shell. */
.ananas-catalogue .ananas-catalogue-breadcrumbs {
  margin: 0 0 12px;
  color: #687563;
  font-size: 12px;
  line-height: 1.7;
}
.ananas-catalogue-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.ananas-catalogue-breadcrumbs font { color: inherit; }
.ananas-catalogue-breadcrumbs u { text-decoration: none; }
.ananas-catalogue-breadcrumbs > span { margin: 0 8px; color: #9aa592; }
.ananas-catalogue .ananas-catalogue-heading {
  margin: 0 0 22px;
  color: #263e2c;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.ananas-catalogue-top-banner { max-width: 100%; margin-bottom: 22px; text-align: center; }
.ananas-catalogue-top-banner > br, .ananas-catalogue-top-banner a > br { display: none; }
.ananas-catalogue-top-banner img { max-width: 100%; height: auto; border: 0; }
.ananas-catalogue .ananas-home-main > center { display: block; width: 100%; text-align: left; }
.ananas-catalogue-result-summary {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #dce5d6;
  border-radius: 10px;
  background: #edf3e8;
  color: #50644c;
  font-size: 13px;
  line-height: 1.8;
}
.ananas-catalogue-result-summary b { color: #284d33; }
.ananas-catalogue .ananas-company-results { display: block; width: 100%; max-width: 100%; border: 0; border-spacing: 0; }
.ananas-company-results > tbody { display: grid; gap: 16px; }
.ananas-company-results > tbody > tr {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "logo detail detail" "logo contact address";
  align-items: start;
  gap: 14px 18px;
  padding: 21px;
  border: 1px solid #dce4d6;
  border-radius: 13px;
  background: #fff;
}
.ananas-company-results > tbody > tr > td {
  display: block;
  min-width: 0;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}
.ananas-company-results > tbody > tr > td:nth-child(1) { grid-area: logo; }
.ananas-company-results > tbody > tr > td:nth-child(2) { grid-area: detail; }
.ananas-company-results > tbody > tr > td:nth-child(3) { grid-area: contact; }
.ananas-company-results > tbody > tr > td:nth-child(4) { grid-area: address; }
.ananas-company-results > tbody > tr > td:nth-child(3),
.ananas-company-results > tbody > tr > td:nth-child(4) {
  padding-top: 10px;
  border-top: 1px solid #edf0e9;
  color: #66735f;
  font-size: 13px;
}
.ananas-company-results > tbody > tr > td:first-child > br { display: none; }
.ananas-company-results > tbody > tr > td:first-child img { max-width: 100%; height: auto; }
.ananas-company-results > tbody > tr > td:nth-child(2) > br + br { display: none; }
.ananas-company-results > tbody > tr:not(:has(> td:first-child img)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "detail detail" "contact address";
}
.ananas-company-results > tbody > tr:not(:has(> td:first-child img)) > td:first-child { display: none; }
.ananas-company-results .companyA, .ananas-company-results .companyB,
.ananas-company-results .companyC, .ananas-company-results .companyD {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
}
.ananas-company-results .companyA { color: #9c2f22; }
.ananas-company-results > tbody > tr > td:nth-child(2) > a:first-child { text-decoration: none; }
.ananas-company-results > tbody > tr > td:nth-child(2) > a:first-child:hover { text-decoration: underline; }
.ananas-catalogue-pagination { margin: 20px 0; color: #34543b; font-size: 14px; line-height: 3; }
.ananas-catalogue-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 42px;
  margin: 3px 3px 3px 0;
  padding: 0 12px;
  border: 1px solid #d5dfce;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  line-height: 1.4;
}
.ananas-catalogue-pagination a:hover { background: #e8f0e2; border-color: #a8bfa0; }
.ananas-catalogue-pagination > b { padding: 0 8px; color: #285b40; }
.ananas-catalogue-pagination > br { display: none; }
@media (max-width: 1199px) and (min-width: 900px) {
  .ananas-company-results > tbody > tr { grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr); padding: 18px; gap: 12px; }
}
@media (max-width: 579px) {
  .ananas-catalogue .ananas-catalogue-heading { margin-bottom: 18px; font-size: 25px; }
  .ananas-catalogue-top-banner { margin-bottom: 18px; }
  .ananas-company-results > tbody > tr {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas: "logo detail" "contact contact" "address address";
    padding: 17px;
    gap: 12px;
  }
  .ananas-company-results .companyA, .ananas-company-results .companyB,
  .ananas-company-results .companyC, .ananas-company-results .companyD { font-size: 17px; }
  .ananas-company-results > tbody > tr:not(:has(> td:first-child img)) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "detail" "contact" "address";
  }
  .ananas-company-results > tbody > tr > td:nth-child(4) { padding-top: 0; border-top: 0; }
  .ananas-catalogue-result-summary { padding: 12px; font-size: 12px; }
}
