/* enconco-mobile-fit-v3: keep category pager off the heading on phones. */
@media (max-width: 767px) {
  body.template-home .casaluce-category-entries .f-collection-list__header-container,
  body.template-home .casaluce-category-entries .f-section__header {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 0 !important;
    margin-bottom: 8px !important;
    padding: 0 16px 2px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  body.template-home .casaluce-category-entries .f-section__subheading,
  body.template-home .casaluce-category-entries .f-section__heading {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    z-index: 1 !important;
  }
  body.template-home .casaluce-category-entries .enconco-cat-pager {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 12px auto 0 !important;
    gap: 10px !important;
    z-index: 2 !important;
  }
  body.template-home .casaluce-category-entries .enconco-cat-pager__btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;
  }
}
