/* Catalog categories as colour tiles (wide screens; switched on in the admin settings). */
@media(min-width:901px){
  .cats-tiles{grid-template-columns:264px minmax(0,1fr)}
  /* No visible heading, so the first tile lines up with the search field. */
  .cats-tiles .f-cats{top:80px;max-height:none;overflow:visible;background:none;border:0;border-radius:0;padding:0}
  .cats-tiles .f-cats .f-label{position:absolute;width:1px;height:1px;margin:0;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .cats-tiles .f-cats ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cats-tiles .f-cats li{min-width:0}
  .cats-tiles .f-cats li:first-child{grid-column:1/-1}
  .cats-tiles .f-cats a{position:relative;overflow:hidden;height:100%;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;min-height:62px;padding:8px 10px;border-radius:var(--r);color:#fff;background:var(--c) linear-gradient(140deg,var(--c),color-mix(in srgb,var(--c) 55%,#15161B));transition:transform .12s,box-shadow .12s}
  .cats-tiles .f-cats a::after{content:'';position:absolute;right:-18px;top:-18px;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.14);pointer-events:none}
  .cats-tiles .f-cats a:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
  .cats-tiles .f-cats a i{display:none}
  .cats-tiles .f-cats a span{font-size:11.8px;line-height:1.25;overflow-wrap:break-word;max-width:100%}
  .cats-tiles .f-cats a em{margin:0;font-size:17px;font-weight:800;line-height:1;opacity:1}
  .cats-tiles .f-cats li:first-child a{flex-direction:row;align-items:center;justify-content:space-between;min-height:48px}
  .cats-tiles .f-cats a[aria-current]{outline:3px solid var(--accent);outline-offset:1px}
}
@media(min-width:901px) and (max-height:680px){
  .cats-tiles .f-cats{position:static}
}
