/* Layout for header + search */
#wfacp_checkout_form > div.wfacp-left-panel.wfacp_page.elementor.single_step
  > div.wfacp-section.wfacp-hg-by-box.step_0.form_section_single_step_0_elementor-minimalist.wfacp_product_switcher.wfacp_product_switcher
  > div.wfacp_internal_form_wrap.wfacp-comm-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wfacp_section_heading { margin: 0 !important; }

#filter-bar-container { width: 40%; }
#filter-bar {
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  outline: none !important;
}
#filter-bar:focus {
  box-shadow: 0 0 0 2px #3b82f6 !important;
  border-color: transparent !important;
}
#no-courses-found { color: #155ca1; text-align: center; }
.highlight { background: yellow; font-weight: bold; }

/* --- Paging: CSS-only hides 11+ by default --- */
.wfacp_product_switcher_container > fieldset:nth-of-type(n+11),
.wfacp_product_switcher_container fieldset:nth-of-type(n+11) { display: none; }

/* When expanded, show all (covers both direct and nested fieldsets) */
.wfacp_product_switcher_container.uc-expanded > fieldset,
.wfacp_product_switcher_container.uc-expanded fieldset { display: block; }

/* Inline "Show more" button UI (no hover color shift) */
#uc-showmore-inline { text-align: center; margin: 12px 0; }
#uc-showmore-btn {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f7f7f7 !important;
  color: #111;
  cursor: pointer;
}
#uc-showmore-btn:hover,
#uc-showmore-btn:focus,
#uc-showmore-btn:active {
  background: #f7f7f7;
  color: #111;
  border-color: #d1d5db;
}
