/* bw西汉姆联中国官网 · 列表页分类条（全站统一组件） */

.cats{position:sticky;top:var(--hd-h);z-index:150;background:#fff;will-change:transform;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

.cats-in{display:flex;align-items:flex-start;gap:22px}
@media (max-width:1780px){.cats-in{padding-right:104px}}

.cats ul{display:flex;flex-wrap:wrap;align-items:center;gap:0 42px;
  flex:1 1 auto;min-width:0;max-height:72px;overflow:hidden;
  transition:max-height .3s cubic-bezier(.4,0,.2,1)}
.cats li{display:flex;flex:0 0 auto;min-width:0}

.cats-a{position:relative;display:flex;align-items:center;height:72px;
  line-height:72px;
  font-size:17px;letter-spacing:.03em;color:var(--ink-2);white-space:nowrap;
  transition:color .2s}
.cats-a:hover{color:var(--brand)}
.cats-a.on{color:var(--brand);font-weight:500}
.cats-a::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;
  background:var(--brand);transform:scaleX(0);transform-origin:left;
  transition:transform .25s}
.cats-a.on::after{transform:scaleX(1)}

.cats-more-cb{display:none}
.cats-more{display:none;flex:0 0 auto;align-items:center;gap:6px;height:72px;
  font-size:13px;color:var(--gray);white-space:nowrap;cursor:pointer;user-select:none}
.cats-more:hover{color:var(--brand)}
.cats-more .t2{display:none}
.cats-more-ic{width:7px;height:7px;border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;transform:rotate(45deg);
  transition:transform .25s}
.cats.has-more .cats-more{display:inline-flex}
.cats-more-cb:checked ~ ul{max-height:240px}
.cats-more-cb:checked ~ .cats-more .t1{display:none}
.cats-more-cb:checked ~ .cats-more .t2{display:inline}
.cats-more-cb:checked ~ .cats-more .cats-more-ic{transform:rotate(-135deg)}

@media (max-width:1500px){
  .cats ul{gap:0 34px}
  .cats-a{font-size:16.5px}
}
@media (max-width:1320px){
  .cats ul{gap:0 28px;max-height:66px}
  .cats-a{height:66px;line-height:66px;font-size:16px}
  .cats-more{height:66px}
}
@media (max-width:1024px){
  .cats ul{gap:0 22px;max-height:60px}
  .cats-a{height:60px;line-height:60px;font-size:15px}
  .cats-more{height:60px}
}
@media (max-width:768px){
  .cats-in{display:block;padding-right:0}
  .cats ul{flex-wrap:nowrap;max-height:none;overflow-x:auto;overflow-y:hidden;
    scrollbar-width:none;gap:0 20px;padding-bottom:0}
  .cats ul::-webkit-scrollbar{display:none}
  .cats li{flex:0 0 auto;min-width:auto}
  .cats-more{display:none}
  .cats-a{height:52px;line-height:52px;font-size:14.5px}
}
@media (max-width:480px){
  .cats-a{height:50px;line-height:50px;font-size:14px}
}
@media print{
  .cats{display:none}
}
