/* ══════════════════════════════════════
   PRODUCTS PAGE CSS
   Loaded only on products pages
══════════════════════════════════════ */

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  padding: 64px 0;
  min-height: 180px;
  display: flex; align-items: center;
  overflow: hidden;
  text-align: left;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(15, 60, 130, 0.82);
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 0 40px; width: 100%;
  text-align: left;
}
.page-hero h1 {
  font-size: 42px; font-weight: 500;
  color: #fff; margin-bottom: 12px;
  text-align: left;
}
.page-hero p {
  font-size: 15px; color: rgba(255,255,255,0.85);
  max-width: 640px; line-height: 1.6;
  text-align: left;
}

/* ─── BREADCRUMB ─── */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; list-style: none;
}
.breadcrumb a { color: #020A12; transition: color .2s; }
.breadcrumb a:hover { color: #0F57A4; }
.breadcrumb-sep { color: #bbb; display: flex; align-items: center; }
.breadcrumb-current { color: #0C2545; font-weight: 500; }

/* ─── LAYOUT ─── */
.products-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: 600px;
}

/* ─── SIDEBAR ─── */
.products-sidebar {
  border-right: none;
  padding: 40px 0;
  position: sticky;
  top: 72px;
  height: fit-content;
}
.sidebar-nav { list-style: none; }
.sidebar-nav li a {
  display: block;
  padding: 12px 24px;
  font-size: 14px; font-weight: 500;
  color: #020A12;
  border-left: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.sidebar-nav li a:hover { color: #0F57A4; }
.sidebar-nav li a.active {
  color: #0F57A4; font-weight: 700;
  border-left-color: #0F57A4;
  background: #F7F7F7;
}

/* ─── CONTENT AREA ─── */
.products-content { padding: 40px 48px; }

/* ─── SECTION HEADING ─── */
.products-content h2 {
  font-size: 32px; font-weight: 500;
  color: #0C2545; margin-bottom: 28px;
}

/* ─── SEARCH BAR ─── */
.product-search-bar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 36px;
}
.product-search-label {
  font-size: 14px; font-weight: 600;
  color: #0C2545; white-space: nowrap;
}
.product-search-wrap {
  display: flex; align-items: center;
  flex: 1; border: 1.5px solid #D5E3F0;
  border-radius: 6px; overflow: hidden;
}
.product-search-input {
  flex: 1; border: none; outline: none;
  padding: 11px 16px; font-size: 14px;
  color: #020A12; font-family: inherit;
  background: #fff;
}
.product-search-input::placeholder { color: #aab; }
.product-search-btn {
  background: #0F57A4; border: none;
  padding: 11px 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.product-search-btn svg { width: 18px; height: 18px; color: #fff; }

/* ─── PRODUCT GRID ─── */
.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 40px;
}

/* ─── PRODUCT CARD ─── */
.product-archive-card {
  border-radius: 8px; overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 0 2px #fff;
  transition: box-shadow .25s;
  background: #fff;
  display: flex; flex-direction: column;
  text-decoration: none;
}
.product-archive-card:hover {
  box-shadow: 0 0 0 3px #0F57A4, 0 4px 20px rgba(15,87,164,0.12);
}
.product-archive-img-wrap {
  position: relative; width: 100%; height: 200px;
  background: #F0F4F8; overflow: hidden; flex-shrink: 0;
}
.product-archive-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.product-archive-img-placeholder {
  width: 100%; height: 100%;
  background: #E2EEFC;
  display: flex; align-items: center; justify-content: center;
}
.product-archive-img-placeholder svg { width: 48px; height: 48px; color: #0F57A4; opacity: .3; }
.purity-badge {
  position: absolute; top: 12px; right: 0;
  background: #30ABE1; color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px 0 0 3px;
  letter-spacing: .3px;
  white-space: normal;
  max-width: 150px;
  line-height: 1.4;
  text-align: right;
}
.product-archive-info {
  padding: 16px; background: #fff;
  transition: background .25s;
  flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.product-archive-card:hover .product-archive-info { background: #0F57A4; }
.product-archive-name {
  font-size: 14px; font-weight: 700;
  color: #0F57A4; line-height: 1.3;
  transition: color .25s;
}
.product-archive-card:hover .product-archive-name { color: #fff; }
.product-archive-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-archive-tag {
  font-size: 11px; padding: 3px 10px;
  border: none; border-radius: 0;
  color: #30ABE1; background: #F7F7F7;
}
.product-archive-card:hover .product-archive-tag {
  background: #fff; color: #30ABE1;
}
.product-archive-desc {
  font-size: 12.5px; color: #020A12;
  line-height: 1.5; transition: color .25s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-archive-card:hover .product-archive-desc { color: rgba(255,255,255,0.8); }

/* ─── PAGINATION ─── */
.products-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 0 8px;
}
.products-pagination .page-numbers,
.products-pagination .products-ajax-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1.5px solid #e4e8ee;
  background: #fff;
  color: #0C2545;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.products-pagination .page-numbers:hover,
.products-pagination .products-ajax-page:hover {
  border-color: #0F57A4;
  color: #0F57A4;
  background: #f0f6ff;
}
.products-pagination .page-numbers.current,
.products-pagination .products-ajax-page.current,
.products-pagination .products-ajax-page:disabled {
  background: #0F57A4;
  border-color: #0F57A4;
  color: #fff;
  font-weight: 600;
  cursor: default;
}
.products-pagination .page-numbers.prev,
.products-pagination .page-numbers.next {
  font-size: 18px;
  font-weight: 400;
}

/* Grid fade transition during AJAX load */
#productGridWrap { transition: opacity 0.2s ease; }

/* ─── INDUSTRIES SECTION ─── */
.products-section { padding-top: 80px; }
/* Extra scroll-margin so sticky header + topbar + admin bar don't overlap section title */
#industries,
#technical-resources { scroll-margin-top: 160px; }

/* Push pagination away from bottom so #industries starts clean in viewport */
#product-categories { padding-bottom: 60px; }
.products-section > h2 { margin-bottom: 8px; }
.products-section > p.section-desc {
  font-size: 14px; color: #020A12; margin-bottom: 36px;
}
.sub-section { margin-bottom: 48px; }
.sub-heading-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 1px solid #eee;
}
.sub-heading {
  font-size: 13px; font-weight: 700;
  color: #020A12; text-transform: uppercase; letter-spacing: .8px;
}
.btn-view-all {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0F57A4; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 4px;
  border: none; cursor: pointer;
  font-family: inherit; transition: background .2s;
  text-decoration: none;
}
.btn-view-all:hover { background: #0d4a8e; }
.btn-view-all svg { width: 14px; height: 14px; }

/* Industry grid */
.industry-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.industry-list-item {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
}
.industry-list-img {
  width: 160px; height: 110px;
  object-fit: cover; border-radius: 6px;
  flex-shrink: 0; display: block;
}
.industry-list-title {
  font-size: 14px; font-weight: 700;
  color: #0F57A4; margin-bottom: 4px; transition: color .2s;
}
.industry-list-item:hover .industry-list-title { color: #0d4a8e; }
.industry-list-desc { font-size: 12.5px; color: #020A12; line-height: 1.4; }

/* Application grid */
.application-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px;
}
.application-list-item {
  display: flex; align-items: flex-start; gap: 16px; cursor: pointer; padding: 8px 0;
}
.application-list-icon {
  width: 48px; height: 48px; background: #E2EEFC;
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.application-list-icon img { width: 28px; height: 28px; }
.application-list-title {
  font-size: 14px; font-weight: 700; color: #0F57A4; margin-bottom: 4px;
}
.application-list-desc { font-size: 13px; color: #020A12; }

/* Case studies grid */
.case-studies-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px;
}
.case-study-list-item {
  display: flex; align-items: flex-start; gap: 16px; cursor: pointer; padding: 8px 0;
}
.case-study-list-icon {
  width: 48px; height: 48px; background: #E2EEFC;
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.case-study-list-icon img { width: 28px; height: 28px; }
.case-study-list-title {
  font-size: 14px; font-weight: 700; color: #0F57A4; margin-bottom: 4px;
}
.case-study-list-desc { font-size: 13px; color: #020A12; }

/* ─── TECHNICAL RESOURCES ─── */
.tech-resources-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.tech-resource-card {
  background: #EEF5FF; border-radius: 8px;
  overflow: hidden; cursor: pointer;
  transition: box-shadow .2s; text-decoration: none;
}
.tech-resource-card:hover { box-shadow: 0 4px 16px rgba(15,87,164,0.12); }
.tech-resource-img {
  width: 100%; height: 160px; background: #D8E9FF;
  display: flex; align-items: center; justify-content: center;
}
.tech-resource-img img { width: 56px; height: 56px; }
.tech-resource-body { padding: 20px; }
.tech-resource-title {
  font-size: 14px; font-weight: 700;
  color: #0F57A4; margin-bottom: 6px; line-height: 1.35;
}
.tech-resource-desc { font-size: 12.5px; color: #020A12; line-height: 1.5; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar { display: none; }
  .products-content { padding: 24px 20px; }
  .page-hero { min-height: 140px; padding: 36px 0; }
  .page-hero-content { padding: 0 20px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p  { font-size: 13px; }
  .product-archive-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tech-resources-grid { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: 1fr; gap: 16px; }
  .industry-list-img { width: 90px; height: 65px; }
  .application-list { grid-template-columns: 1fr; gap: 16px; }
  .case-studies-list { grid-template-columns: 1fr; gap: 16px; }
  .sub-heading-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .products-content h2 { font-size: 24px; }
  .product-search-bar { flex-wrap: wrap; gap: 10px; }
  .product-search-label { width: 100%; }
  .breadcrumb-bar { padding: 10px 0; }
}

/* ─── PAGE WRAPPER ─── */
.products-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .products-page-wrap { padding: 0 20px; }
}

/* ── PRODUCT CATEGORY TABS ── */
.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}
.product-cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  color: #0C2545;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.product-cat-tab:hover {
  border-color: #0F57A4;
  color: #0F57A4;
  background: #E2EEFC;
}
.product-cat-tab.active {
  background: #0F57A4;
  border-color: #0F57A4;
  color: #fff;
}
.cat-tab-icon {
  display: flex;
  align-items: center;
}
.cat-tab-icon svg {
  width: 16px;
  height: 16px;
}
.product-cat-tab.active .cat-tab-icon svg { stroke: #fff; }

/* ── CATEGORY HEADER ── */
.product-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.product-category-title {
  font-size: 22px;
  font-weight: 500;
  color: #0C2545;
  margin: 0;
}
.product-category-count {
  font-size: 13px;
  color: #888;
  margin: 0;
  background: #f7f7f7;
  padding: 3px 10px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .product-category-tabs { gap: 8px; }
  .product-cat-tab { padding: 8px 14px; font-size: 12px; }
}

/* Category tabs as buttons */
.product-cat-tab {
  cursor: pointer;
  font-family: inherit;
}
/* ── Browse by Category cards ── */
.prod-cat-intro {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin: 8px 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.prod-browse-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.prod-browse-cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #e8eef6;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  text-align: left;
}
[dir="rtl"] .prod-browse-cat-card { text-align: right; }
.prod-browse-cat-card:hover {
  border-color: #0F57A4;
  box-shadow: 0 4px 16px rgba(15,87,164,0.12);
  transform: translateY(-2px);
}
.pbc-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #E2EEFC;
  border-radius: 8px;
  color: #0F57A4;
  flex-shrink: 0;
}
.pbc-icon svg { width: 20px; height: 20px; }
.pbc-name {
  font-size: 15px;
  font-weight: 700;
  color: #0C2545;
  line-height: 1.3;
}
.pbc-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .prod-browse-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .prod-browse-cats { grid-template-columns: 1fr; }
}

/* Browse card active state */
.prod-browse-cat-card.active {
  border-color: #0F57A4;
  background: #E2EEFC;
  box-shadow: 0 4px 16px rgba(15,87,164,0.12);
}
.prod-browse-cat-card.active .pbc-name {
  color: #0F57A4;
}
.prod-browse-cat-card.active .pbc-icon {
  background: #0F57A4;
  color: #fff;
}

/* ── Product Filter Bar ── */
.prod-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 20px;
  flex-wrap: wrap;
}
.prod-filter-select {
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1.5px solid #dce6f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0C2545;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230F57A4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  min-width: 180px;
  transition: border-color .2s;
}
.prod-filter-select:focus { outline: none; border-color: #0F57A4; }
.prod-show-all-btn {
  height: 40px;
  padding: 0 20px;
  background: #0C2545;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.prod-show-all-btn:hover { background: #0F57A4; }

/* Active filter label */
.prod-active-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #0C2545;
  font-weight: 600;
}
.prod-clear-filter {
  background: none;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
  transition: all .2s;
}
.prod-clear-filter:hover { border-color: #0F57A4; color: #0F57A4; }

@media (max-width: 600px) {
  .prod-filter-bar { flex-direction: column; align-items: stretch; }
  .prod-filter-select { min-width: unset; width: 100%; }
  .prod-show-all-btn { width: 100%; }
}

/* ── Products Hero CTA buttons ── */
.prod-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ── Product search row (search + Show All side by side) ── */
.prod-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 20px;
  flex-wrap: wrap;
}
.prod-search-row .product-search-bar {
  flex: 1;
  margin: 0;
}
.prod-show-all-btn {
  height: 46px;
  padding: 0 22px;
  background: #0C2545;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.prod-show-all-btn:hover { background: #0F57A4; }

/* ── Product Finder page ── */
.pf-wrap { padding: 48px 0 72px; }
.pf-filters { background: #f7f9fc; border: 1px solid #e2eaf4; border-radius: 12px; padding: 28px; margin-bottom: 32px; }
.pf-filter-group { margin-bottom: 24px; }
.pf-filter-group:last-child { margin-bottom: 0; }
.pf-filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 12px;
}
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tag {
  padding: 6px 16px;
  border: 1.5px solid #dce6f0;
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0C2545;
  cursor: pointer;
  transition: all .18s;
}
.pf-tag:hover { border-color: #0F57A4; color: #0F57A4; }
.pf-tag.active { background: #0F57A4; border-color: #0F57A4; color: #fff; }
.pf-tag-more { border-style: dashed; color: #888; }
.pf-search-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2eaf0;
}
.pf-search-input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #dce6f0;
  border-radius: 8px;
  font-size: 14px;
  color: #0C2545;
}
.pf-search-input:focus { outline: none; border-color: #0F57A4; }
.pf-reset-btn {
  height: 42px;
  padding: 0 20px;
  background: #0C2545;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.pf-reset-btn:hover { background: #0F57A4; }
.pf-active-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #0C2545;
  flex-wrap: wrap;
}
.pf-active-label { color: #666; }
.pf-clear-all {
  background: none;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
  transition: all .2s;
}
.pf-clear-all:hover { border-color: #0F57A4; color: #0F57A4; }
.pf-grid-wrap { min-height: 200px; }

@media (max-width: 600px) {
  .prod-hero-ctas { flex-direction: column; }
  .prod-search-row { flex-direction: column; }
  .prod-show-all-btn { width: 100%; }
  .pf-search-row { flex-direction: column; }
  .pf-reset-btn { width: 100%; }
}

/* ── Filter Options section ── */
.prod-filters-wrap {
  margin: 28px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  background: #f7f9fc;
  border: 1px solid #e2eaf4;
  border-radius: 10px;
}
.prod-filter-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.prod-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: #0C2545;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  padding-top: 5px;
  min-width: 130px;
}
.prod-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.prod-filter-tag {
  padding: 5px 14px;
  border: 1.5px solid #dce6f0;
  border-radius: 20px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #0C2545;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.prod-filter-tag:hover  { border-color: #0F57A4; color: #0F57A4; }
.prod-filter-tag.active { background: #0F57A4; border-color: #0F57A4; color: #fff; }

@media (max-width: 768px) {
  .prod-filter-group    { flex-direction: column; gap: 8px; }
  .prod-filter-label    { min-width: unset; padding-top: 0; }
  .prod-filters-wrap    { padding: 16px; }
}

/* ── Filter toggle button ── */
.prod-filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 18px;
  border: 1.5px solid #dce6f0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #0C2545;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.prod-filter-toggle-btn:hover,
.prod-filter-toggle-btn.active { border-color: #0F57A4; color: #0F57A4; background: #E2EEFC; }
.prod-filter-toggle-btn.has-filters { border-color: #0F57A4; color: #0F57A4; }

.filter-active-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: #0F57A4;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

/* ── Collapsible filter panel ── */
.prod-filter-panel {
  margin-top: 8px;
  background: #f7f9fc;
  border: 1.5px solid #e2eaf4;
  border-radius: 10px;
  overflow: hidden;
  animation: filterPanelIn .15s ease;
}
@keyframes filterPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.prod-filter-panel-inner {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 600px) {
  .prod-filter-panel-inner { padding: 16px; }
}
