/* CSF Mobile Bottom Bar — fixed, mobile-only, iOS safe-area aware. */
.csf-bbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: #ffffff;
  border-top: 1px solid #ececec;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}
.csf-bbar__i {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  color: #1d1d1f;
  position: relative;
  /* the Filters item is a <button> (JS-triggered, not a link) — reset native button chrome
     so it matches the anchor siblings; keeps the toolbar visually uniform. */
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.csf-bbar__i:hover { color: #000; }
.csf-ic { font-size: 20px; line-height: 1; }
.csf-badge {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(6px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  background: #e8513a;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
/* Reserve space so the bar never covers content on mobile; hide entirely on desktop. */
body { padding-bottom: 64px; }
@media (min-width: 1025px) {
  .csf-bbar { display: none; }
  body { padding-bottom: 0; }
}
