/* Compact listing headers and finder entry. Scoped to product listings. */
html.route-product-special:not(.popup) .site-wrapper > .page-title,
html.route-product-category:not(.popup) .site-wrapper > .page-title {
  padding-top: 14px !important;
  padding-bottom: 4px !important;
  --element-padding-top: 14px !important;
  --element-padding-bottom: 4px !important;
  min-height: 0 !important;
  font-size: 26px;
  line-height: 1.2;
}
html.route-product-special .site-wrapper > .breadcrumbs,
html.route-product-category .site-wrapper > .breadcrumbs {
  --breadcrumbs-top-padding: 0px;
  --breadcrumbs-bottom-padding: 0px;
  --min-height: 0px;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
html.route-product-special .breadcrumbs .breadcrumb,
html.route-product-category .breadcrumbs .breadcrumb {
  padding-top: 6px !important;
  padding-bottom: 8px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
html.route-product-special #product-special,
html.route-product-category #product-category {
  padding-top: 12px !important;
  margin-top: 0 !important;
  --element-padding-top: 12px !important;
}
html.route-product-special #content,
html.route-product-category #content {
  padding-top: 0 !important;
}
.tc-finder.tc-category-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 12px;
}
.tc-category-entry .tc-finder-intro { display: contents; }
.tc-category-entry .tc-eyebrow { display: none; }
.tc-category-entry h2 { font-size: 21px; margin: 0 0 4px; }
.tc-category-entry .tc-finder-intro p { margin: 0; font-size: 13px; }
.tc-category-entry .tc-finder-intro > .tc-primary { grid-column: 2; grid-row: 1 / 3; padding: 11px 16px; font-size: 13px; }
.tc-category-entry .tc-help { grid-column: 1; margin: 0 !important; font-size: 12px; }
.tc-category-entry [data-wizard] { grid-column: 1 / -1; }
.tc-category-entry .tc-steps { margin: 6px 0 14px; }
.tc-category-entry .tc-options { margin: 12px 0; gap: 9px; }
.tc-category-entry .tc-actions { margin-top: 10px; }
.tc-category-entry .tc-error:empty { min-height: 0; margin: 0; }
.tc-special-tools { display: flex; gap: 16px; align-items: stretch; margin: 0 0 14px; }
.tc-special-tools > .tc-category-entry { flex: 1; min-width: 0; margin: 0; align-content: center; }
.tc-special-offer { display: flex; flex: 0 1 42%; max-width: 600px; min-width: 0; align-items: center; overflow: hidden; border-radius: 12px; background: #082642; text-decoration: none; }
.tc-special-offer img { width: 100%; height: auto; display: block; }
.tc-special-offer-text { display: none; }
.tc-special-tools.is-open { display: block; }
.tc-special-tools.is-open > .tc-special-offer { display: none; }
.tc-special-tools.is-open > .tc-category-entry { display: block; }
html.route-product-special .products-filter,
html.route-product-category .products-filter { margin-top: 0 !important; margin-bottom: 12px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
@media (max-width: 1100px) {
  .tc-special-tools .tc-finder-intro { display: block; }
  .tc-special-tools .tc-category-entry { display: block; }
  .tc-special-tools .tc-finder-intro > .tc-primary { margin-top: 9px; padding: 8px 14px; }
  .tc-special-tools .tc-help { margin-top: 7px !important; }
}
@media (max-width: 767px) {
  html.route-product-special:not(.popup) .site-wrapper > .page-title,
  html.route-product-category:not(.popup) .site-wrapper > .page-title { font-size: 23px; padding-top: 10px !important; }
  .tc-finder.tc-category-entry { display: block; padding: 12px 14px; }
  .tc-category-entry .tc-finder-intro { display: block; }
  .tc-category-entry h2 { font-size: 20px; }
  .tc-category-entry .tc-finder-intro > .tc-primary { width: 100%; margin-top: 9px; }
  .tc-category-entry .tc-help { margin-top: 7px !important; }
  .tc-special-tools { display: block; }
  .tc-special-offer { max-width: none; margin-bottom: 10px; padding: 12px 16px; }
  .tc-special-offer img { display: none; }
  .tc-special-offer-text { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-size: 17px; line-height: 1.25; }
  .tc-special-offer-text strong { color: #ffac9d; font-size: 29px; white-space: nowrap; }
  .tc-special-offer-text small { display: block; margin-top: 3px; font-size: 11px; }
}

/* Compact server-rendered category advice; details stay collapsed by default. */
.tc-category-copy > p { margin: 0 0 8px; }
.tc-category-guide { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.tc-category-guide > summary { cursor: pointer; color: #073b7e; font-weight: 600; padding: 7px 0; }
.tc-category-guide h2 { font-size: 21px; margin: 12px 0 8px; }
.tc-category-guide h3 { font-size: 17px; margin: 12px 0 5px; }
.tc-category-guide p { margin: 0 0 9px; }
.tc-model-purpose h2 { font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.tc-model-purpose { margin-bottom: 16px; }
