/* Flow Controls UK Ltd - products.css  (List View) */

/* ── FILTER / CATEGORY NAV BAR ─────────────────────────── */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid #e0eaf4;
  padding: 0;
  position: sticky;
  top: 85px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.filter-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #5a6a7a;
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.filter-btn:hover  { color: var(--blue); border-bottom-color: rgba(26,143,227,0.3); }
.filter-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.filter-btn svg    { width: 15px; height: 15px; }
.filter-count {
  background: rgba(26,143,227,0.12);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

/* ── PAGE WRAPPER ───────────────────────────────────────── */
.products-page { background: #f0f4f8; padding: 60px 0 80px; }
.products-page-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── CATEGORY BLOCK ─────────────────────────────────────── */
.product-category {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}
.product-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: #fff;
  border-radius: 14px 14px 0 0;
  border-bottom: 2px solid var(--blue);
}
.category-title-wrap { display: flex; align-items: center; gap: 14px; }
.category-icon {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.category-icon img{
  width: 100%;
  object-fit: cover;
  height: 100%;
}
.category-icon svg { width: 22px; height: 22px; color: #fff; }
.category-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 23px; font-weight: 800; color: #0d2137; line-height: 1;
}
.category-count { font-size: 12px; color: #8a9bb0; margin-top: 3px; }

/* ── LIST BODY ──────────────────────────────────────────── */
.category-list-body {
  background: #fff;
  border-radius: 0 0 14px 14px;
  padding: 4px 0 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Two-column grid inside list body */
.list-columns {
  display: grid;
 grid-template-columns: repeat(4, 1fr);
}
.list-col {}

.product-list-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 28px;
  border-bottom: 1px solid #f2f6fa;
  transition: background 0.15s;
}
.product-list-item:last-child { border-bottom: none; }
.product-list-item:hover { background: #f5f9fe; }

.pli-dot {
  width: 6px; height: 6px; min-width: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
}
.pli-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a2d42;
  line-height: 1.5;
}

/* ── CTA BANNER ─────────────────────────────────────────── */
.products-cta-banner {
  background: linear-gradient(135deg, #0d2137 0%, #1a3d5c 100%);
  border-radius: 16px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
}
.products-cta-banner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.products-cta-banner p {
  color: rgba(255,255,255,0.72); font-size: 15px; line-height: 1.6; max-width: 520px;
}
.cta-banner-btns { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.cta-btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 700; padding: 14px 28px;
  border-radius: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn-solid:hover { background: #1579c5; transform: translateY(-2px); }
.cta-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-size: 15px; font-weight: 600; padding: 14px 28px;
  border-radius: 8px; border: 2px solid rgba(255,255,255,0.4); text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.cta-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .list-columns { grid-template-columns: 1fr; }
  .product-category-header { padding: 14px 18px; }
  .product-list-item { padding: 9px 18px; }
  .products-cta-banner { flex-direction: column; padding: 36px 28px; text-align: center; }
  .cta-banner-btns { justify-content: center; }
}
@media (max-width: 560px) {
  .product-list-item { padding: 8px 14px; }
  .pli-name { font-size: 13.5px; }
  .products-cta-banner h2 { font-size: 26px; }
  .cta-banner-btns { flex-direction: column; width: 100%; }
  .cta-btn-solid, .cta-btn-outline { justify-content: center; }
}
