/* Desktop catalog category repair: the native <details> wrapper must not break link selectors. */
@media(min-width:821px){
  .tc-catalog-filter__details,.tc-catalog-filter__list{display:contents}
  .tc-catalog-filter__list>p{display:block;margin:0;padding:17px 18px 12px;color:#0b8f86;font-size:10px;font-weight:850;letter-spacing:1px}
  .tc-catalog-filter__list>a{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 18px;color:#425e6c;font-size:13px;line-height:1.35;transition:background-color .16s ease,color .16s ease}
  .tc-catalog-filter__list>a>span{min-width:0}
  .tc-catalog-filter__list>a>b{display:grid;flex:0 0 23px;min-width:23px;height:23px;place-items:center;border-radius:999px;background:#eef4f5;color:#5b7480;font-size:10px;font-weight:800}
  .tc-catalog-filter__list>a:hover,.tc-catalog-filter__list>a.is-active{background:#eaf8f6;color:#057e77;font-weight:800}
  .tc-catalog-filter__list>a.is-active>b,.tc-catalog-filter__list>a:hover>b{background:#c8f0ea;color:#087f78}
  .tc-catalog-chips{display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-width:none!important;overflow:visible!important;margin:0 0 17px!important;padding:0!important;scrollbar-width:auto!important}
  .tc-catalog-chips>a{flex:0 0 auto}
}

/* Owner-requested compact catalog treatment. This file is already active on all archive routes. */
.tc-catalog-summary{display:none!important}
.tc-catalog-hero{padding:22px 0 24px!important}
.tc-catalog-hero .tc-kicker{margin:0!important;font-size:10px!important;letter-spacing:1.15px}
.tc-catalog-crumb{gap:6px!important;margin:7px 0 6px!important;font-size:11px!important}
.tc-catalog-hero h1{margin:0 0 8px!important;font-size:44px!important;line-height:1.05!important}
.tc-catalog-hero>.shell>p:last-child{max-width:760px;margin:0!important;font-size:14px!important;line-height:1.45!important}
.tc-catalog-wrap{margin-top:20px!important}
.tc-catalog-results__head{margin:11px 0 13px!important}
.tc-catalog-results__head p{margin:0!important}

/* Five equal chip columns create exactly two rows for the nine catalogue choices;
   individual labels may use at most two readable text lines. */
@media(min-width:821px){
  .tc-catalog-chips{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:54px;gap:8px!important;width:100%;margin:0 0 13px!important;overflow:visible!important}
  .tc-catalog-chips>a{display:-webkit-box!important;box-sizing:border-box;width:100%!important;min-width:0!important;height:54px;margin:0!important;padding:9px 11px!important;white-space:normal!important;overflow:hidden!important;overflow-wrap:anywhere;font-size:11px!important;line-height:1.25!important;text-align:left;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .tc-catalog-filter__list>a>span{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}
@media(max-width:820px){
  .tc-catalog-hero{padding:22px 0 24px!important}
  .tc-catalog-hero h1{margin-bottom:7px!important;font-size:32px!important;line-height:1.08!important}
  .tc-catalog-hero>.shell>p:last-child{font-size:13px!important;line-height:1.42!important}
  .tc-catalog-crumb{margin:7px 0 6px!important}
  .tc-catalog-wrap{margin-top:16px!important}
  .tc-catalog-chips>a,.tc-catalog-filter__list>a>span{display:-webkit-box!important;white-space:normal!important;overflow:hidden!important;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}

/* The label wrapper makes the two-line limit deterministic even inside a chip flex item. */
@media(min-width:821px){
  .tc-catalog-chips>a{display:flex!important;align-items:center!important}
  .tc-catalog-chips>a>.tc-catalog-chip__label{display:-webkit-box;overflow:hidden;white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}
@media(max-width:820px){
  .tc-catalog-chips>a>.tc-catalog-chip__label{display:-webkit-box;overflow:hidden;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}
