/* ===== catalogue responsive rules ===== */
@media screen and (max-width:1279px){
  .search{width:auto;margin:-40px 32px 0;grid-template-columns:1fr 1fr;padding:8px}
  .search label:first-of-type{grid-column:1/-1;border-right:0;border-bottom:2px solid var(--sand)}
  .search label:nth-of-type(2){border-right:2px solid var(--sand)}
  .search label:nth-of-type(3){border-right:0}
  .search label:nth-of-type(2),.search label:nth-of-type(3){border-bottom:2px solid var(--sand)}
  .search label:nth-of-type(4){grid-column:1/-1;border-right:0}
    .catgrid{grid-template-columns:1fr;gap:24px;padding:36px 0 64px}
  .filters{position:static;grid-template-columns:1fr 1fr 1fr;gap:12px}
  .fbox{padding:18px}
  .fbox:last-child{grid-column:1/-1}
  .fbox .reset{height:44px}
    }
@media screen and (max-width:1023px){
  .filters{grid-template-columns:1fr 1fr}
}
@media screen and (max-width:767px){
  .search{margin:-24px 16px 0;grid-template-columns:1fr;padding:6px} /* must live here, after the ≤1279 rule above: shell.css loads earlier and would lose (regression of 19.10, fixed 20.10) */
  .phero{padding-bottom:90px}
    .search label,.search label:nth-of-type(2),.search label:nth-of-type(4){border-right:0;border-bottom:2px solid var(--sand);padding:8px 14px 10px}
  /* filters collapse behind a button */
  .ftoggle{display:flex;align-items:center;justify-content:space-between;width:100%;height:52px;padding:0 18px;border:0;border-radius:16px;background:#fff;font-weight:900;font-size:15px;box-shadow:0 10px 26px rgba(var(--ink-rgb),.08)}
  .ftoggle::after{content:"";width:8px;height:8px;border-right:2px solid var(--cocoa);border-bottom:2px solid var(--cocoa);transform:translateY(-2px) rotate(45deg);transition:.25s}
  .ftoggle.open::after{transform:translateY(2px) rotate(-135deg)}
  .filters{display:none;grid-template-columns:1fr}
  .filters.open{display:grid}
  .catgrid{gap:14px}
  .results .bar{flex-direction:column;align-items:flex-start;gap:12px}
  .results .bar h2{font-size:26px}
  .sort{align-self:stretch;justify-content:space-between}
  /* results: a one-column list, not a swipe strip */
  .tickets.three{display:grid;grid-template-columns:1fr;gap:14px;margin:0;padding:0;overflow:visible}
  .tickets.three .poster{flex:none;max-width:none;height:380px}
  .three > :nth-child(3n+2),.three > :nth-child(3n+3){transition-delay:0s}
        }

