/* ============================================================
   products.css â€” Product Catalog page styles
   ============================================================ */


/* Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:      #D30100;
  --red-dark: #A50000;
  --dark:     #0E0E0E;
  --marine:   #0A2540;
  --bone:     #F4F1EC;
  --amber:    #FEBD59;
  --steel:    #6E7479;
  --g4:       #6E7479;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: clip;
}


/* Hero
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 55px 28px 64px;
  background: var(--marine);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 110% 50%, rgba(211, 1, 0, .22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at -10% 50%, rgba(211, 1, 0, .1) 0%, transparent 55%);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--amber);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: color .15s;
}

.breadcrumb a:hover {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  background: rgba(254, 189, 89, .15);
  border: 1px solid rgba(254, 189, 89, .4);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 18px;
}

.page-hero h1 span {
  color: var(--amber);
}

.hero-subtitle {
  font-size: 16.5px;
  color: #fff;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 32px;
  width: fit-content;
}

.hero-stat {
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
  margin-right: 32px;
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
}

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: #fff;
  margin-top: 4px;
}


/* Filter Bar — 5 labelled selects (Industry · Pump Category · Pump Type ·
   Equipment · Brand) + search, in a grid that wraps responsively so nothing
   is ever clipped. Active-filter chips sit on a second row.
   ------------------------------------------------------------ */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid rgba(10, 37, 64, .09);
  padding: 14px 24px;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .05);
}

.filter-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Filter collapse toggle (default expanded on desktop, collapsed on mobile) */
.filter-toggle {
  align-self: flex-start;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: var(--bone, #F4F1EC);
  border: 1px solid rgba(10, 37, 64, .14);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--marine, #0A2540);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.filter-toggle:hover {
  background: #fff;
  border-color: var(--red, #C8102E);
  color: var(--red, #C8102E);
}
.filter-toggle-icon {
  flex: 0 0 14px;
}
.filter-toggle-chev {
  transition: transform .2s ease;
}
.filter-toggle[aria-expanded="false"] .filter-toggle-chev {
  transform: rotate(-90deg);
}
.filter-bar.is-collapsed .filter-fields {
  display: none;
}

.filter-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 1.4fr;
  gap: 10px;
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.filter-field-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  padding-left: 2px;
}

.filter-select {
  width: 100%;
  padding: 9px 30px 9px 12px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  border: 1.5px solid rgba(10, 37, 64, .15);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236E7479' stroke-width='1.6'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.filter-select:hover { border-color: rgba(10, 37, 64, .3); }
.filter-select:focus-visible { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 1, 0, .12); }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(10, 37, 64, .15);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}

.search-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 1, 0, .12); }
.search-box svg { flex-shrink: 0; }

.search-box input {
  border: none;
  outline: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--dark);
  background: transparent;
  flex: 1;
  min-width: 0;
}

.search-box input::placeholder {
  color: rgba(110, 116, 121, .6);
}

/* Active filter row */
.filter-active {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 37, 64, .07);
}

.filter-active-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
}

.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 11px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--marine);
  background: rgba(10, 37, 64, .06);
  border: 1px solid rgba(10, 37, 64, .12);
  border-radius: 100px;
  cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
}

.chip:hover { background: rgba(211, 1, 0, .08); color: var(--red); border-color: rgba(211, 1, 0, .25); }
.chip svg { opacity: .7; }

.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity .14s;
}

.clear-filters:hover { opacity: .65; }

.product-count {
  margin-left: auto;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  color: var(--steel);
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 880px) {
  .filter-fields { grid-template-columns: 1fr 1fr; }
  .filter-field--search { grid-column: 1 / -1; }
  .filter-toggle { display: inline-flex; }
}

@media (max-width: 520px) {
  .filter-bar { padding: 12px 16px; }
  .filter-fields { grid-template-columns: 1fr; }
  .product-count { margin-left: 0; width: 100%; }
}


/* Catalog
   ------------------------------------------------------------ */
.catalog {
  padding: 56px 24px 80px;
  background: #fff;
}

.catalog-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cat-block { margin-bottom: 56px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-block-head { margin-bottom: 22px; }

.cat-block-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--dark);
}

.cat-block-title span { color: var(--red); }

.cat-block-sub {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
  margin-top: 8px;
  max-width: 640px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

/* Browse cards (pump category / equipment) + results-page link
   ------------------------------------------------------------ */
.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
}

.browse-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  padding: 20px 20px 16px;
  background: #fff;
  border: 1.5px solid rgba(10, 37, 64, .1);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow .22s, transform .22s cubic-bezier(0.4, 0, 0.2, 1), border-color .22s;
}

.browse-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--red);
  opacity: 0;
  transition: opacity .2s;
}

.browse-card:hover {
  box-shadow: 0 12px 36px rgba(10, 37, 64, .12), 0 2px 10px rgba(0, 0, 0, .05);
  transform: translateY(-3px);
  border-color: rgba(211, 1, 0, .2);
}

.browse-card:hover::before { opacity: 1; }
.browse-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.browse-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.browse-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--dark);
}

.browse-card-desc {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.55;
}

.browse-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 37, 64, .07);
}

.browse-card-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--steel);
}

.browse-card-arrow { color: var(--red); transition: transform .15s; }
.browse-card:hover .browse-card-arrow { transform: translateX(3px); }

.results-head { margin-bottom: 4px; }

.results-pagelink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--marine);
  text-decoration: none;
  padding: 9px 16px;
  background: var(--bone);
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.results-pagelink:hover { background: rgba(211, 1, 0, .08); color: var(--red); }
.results-pagelink svg { transition: transform .15s; }
.results-pagelink:hover svg { transform: translateX(3px); }


/* Product Card
   ------------------------------------------------------------ */
.product-card {
  background: #fff;
  border: 1.5px solid rgba(10, 37, 64, .09);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s cubic-bezier(0.4, 0, 0.2, 1), border-color .22s;
}

.product-card:hover {
  box-shadow: 0 10px 40px rgba(211, 1, 0, .1), 0 2px 12px rgba(0, 0, 0, .06);
  transform: translateY(-3px);
  border-color: rgba(211, 1, 0, .18);
}

.product-card-accent {
  height: 3px;
  background: var(--red);
  flex-shrink: 0;
}

.product-card-body {
  padding: 22px 22px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.product-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-card-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(211, 1, 0, .07);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Breadcrumb path on each card: Category > Type, sits above the product name.
   Establishes the page hierarchy (Category > Type > Specific Product). */
.product-card-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 4px;
}

.product-card-crumb {
  color: var(--steel);
  text-decoration: none;
  transition: color .15s;
}

.product-card-crumb--link {
  color: var(--marine);
}

.product-card-crumb--link:hover {
  color: var(--red);
}

.product-card-crumb-sep {
  color: var(--steel);
  opacity: .5;
  flex-shrink: 0;
}

.product-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--dark);
}

.product-card-desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.65;
  flex: 1;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.product-card-spec {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--marine);
  background: rgba(10, 37, 64, .06);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.product-card-tag {
  font-size: 10.5px;
  color: var(--steel);
  background: var(--bone);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.product-card-footer {
  padding: 15px 22px;
  border-top: 1px solid rgba(10, 37, 64, .07);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: opacity .15s;
}

.product-card-cta:hover {
  opacity: .7;
}

.product-card-cta svg {
  transition: transform .15s;
}

.product-card-cta:hover svg {
  transform: translateX(3px);
}

.product-card-details {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--marine);
  text-decoration: none;
  transition: color .15s;
}

.product-card-details:hover {
  color: var(--red);
}

.product-card-details svg {
  transition: transform .15s;
}

.product-card-details:hover svg {
  transform: translateX(2px);
}


/* No Results
   ------------------------------------------------------------ */
.no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--steel);
}

.no-results h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.no-results p {
  font-size: 14px;
  line-height: 1.8;
}

.no-results a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.no-results svg {
  display: block;
  margin: 0 auto 20px;
}


/* Brand Partners Section
   ------------------------------------------------------------ */
.brands-section {
  background: var(--bone);
  padding: 80px 24px;
  border-top: 1px solid rgba(10, 37, 64, .07);
}

.brands-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 48px;
}

.section-title span {
  color: var(--red);
}

.brand-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.brand-group h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 37, 64, .06);
  transition: background .12s;
}

.brand-item:last-child {
  border-bottom: none;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}

.brand-origin {
  font-size: 11.5px;
  color: var(--steel);
  margin-top: 1px;
}


/* CTA Band
   ------------------------------------------------------------ */
.cta-band {
  background: var(--red);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--amber);
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(0, 0, 0, .2) 0%, transparent 65%);
}

.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.65;
  max-width: 500px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  background: #fff;
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity .18s, transform .18s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.cta-button:hover {
  opacity: .9;
  transform: translateY(-2px);
}


/* Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .brand-groups { grid-template-columns: repeat(2, 1fr); }
  .cta-inner    { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 600px) {
  .brand-groups     { grid-template-columns: 1fr; }
  .hero-stats       { flex-wrap: wrap; gap: 20px; }
  .hero-stat        { border-right: none; margin-right: 0; padding-right: 0; }
}
