@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

.ps-title {
  font-size: 26px;
  color: #2b2b2b;
  font-family: 'Inter', sans-serif;
}

.products-wrapper .wpc-filter-title,
.products-wrapper .wpc-filter-header div.wpc-filter-title button span {
  font-size: 20px;
  color: #005eb8;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  line-height: normal;
  justify-content: flex-start;
  gap: 8px;
}

.products-wrapper .wpc-filter-selected-values {
  display: none;
}

.products-wrapper
  .wpc-filter-header
  div.wpc-filter-title
  button
  .wpc-open-icon {
  margin-top: 4px;
  margin-right: 3px;
}

.products-wrapper
  .wpc-filter-collapsible.wpc-opened
  .wpc-filter-title
  .wpc-open-icon {
  margin-top: 11px;
}

.products-wrapper .wpc-help-tip::after {
  content: '¡';
  line-height: 12px;
  background: #959b9d;
}

.filter__title p {
  font-family: 'Inter', sans-serif;
}

ul {
  list-style: none;
}

.description {
  color: #2b2b2b;
  font-size: 16px;
}

.description ul {
  list-style: disc;
  margin: 0;
}

.color-circle {
  width: 20px;
  height: 20px;
}

.attributes {
  grid-template-columns: auto auto auto auto;
}

.attributes li {
  color: #6f6f6f;
  font-size: 12px;
}

.attributes li .value {
  font-weight: 800;
  color: #2b2b2b;
  font-size: 14px;
}

.keyword {
  background: #f6f6f6;
  font-size: 10px;
  font-weight: 700;
  color: #000000;
}

.keywords__title {
  color: #6f6f6f;
  font-size: 10px;
  font-weight: 700;
}

.filter-sidebar > p {
  color: #6c6c6c;
}

.filter-sidebar li.wpc-term-item a {
  color: #4a4a4a;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.wpc-term-count {
  display: none;
}

.products-wrapper .wpc-term-item input[type='checkbox'] {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label {
  position: relative;
  cursor: pointer;
  padding-left: 0;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
  border: none;
  border-radius: 0;
}

body
  .wpc-filters-main-wrap
  .wpc-filters-labels
  li.wpc-term-item
  label
  span.wpc-filter-label-wrapper {
  border: none;
  padding: 0;
}

body
  .wpc-filters-main-wrap
  input.wpc-label-input
  + label:hover
  span.wpc-filter-label-wrapper,
body
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper,
body
  .wpc-filters-main-wrap
  input.wpc-label-input
  + label:hover
  span.wpc-filter-label-wrapper
  a,
body
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper,
body
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper
  a {
  color: #4a4a4a !important;
  background-color: transparent !important;
  text-decoration: none !important;
}

body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item {
  float: none;
  width: 100%;
}

.filter-sidebar ul.wpc-filters-checkboxes {
  padding-left: 0;
}

.products-wrapper .wpc-term-item label::before {
  content: '';
  background-color: transparent;
  border: 1px solid #555555;
  height: 25px;
  width: 25px;
  min-width: 25px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 2px;
}

.products-wrapper .wpc-term-item input[type='checkbox']:checked + label::after {
  content: '';
  display: block;
  position: absolute;
  top: 6px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid #4a4a4a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.products-wrapper .wpc-term-count-0 {
  pointer-events: none;
}

.filter-terms .term {
  color: #9e9e9e;
  font-size: 15px;
  cursor: pointer;
}

.banner {
  background: #00417e;
  font-size: 26px;
}

.clear-all {
  font-size: 15px;
  color: #2b2b2b;
  cursor: pointer;
}

.filter-instructions {
  font-size: 16px;
  color: #6c6c6c;
  font-family: 'Inter', sans-serif;
}

.products-wrapper .wpc-open-close-filters-button {
  width: 100%;
  border: none !important;
  background: #f6f6f6 !important;
  padding: 20px 30px !important;
}

.products-wrapper .wpc-open-close-filters-button .wpc-button-inner {
  justify-content: space-between;
}

.products-wrapper .wpc-open-close-filters-button .wpc-button-inner::after {
  content: '';
  background: url('data:image/svg+xml,<svg width="17" height="31" viewBox="0 0 17 31" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 2.5L15 15.5L2 28.5" stroke="%236C6C6C" stroke-width="4" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    no-repeat;
  background-size: contain;
  width: 10px;
  height: 13px;
  display: inline-block;
}

.products-wrapper .wpc-filters-button-text {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.products-wrapper .wpc-icon-html-wrapper {
  display: none;
}

.products-wrapper .wpc-filters-widget-content {
  position: fixed;
  top: 160px;
  left: 0;
  width: 100%;
  height: calc(100vh - 160px);
  background: #f6f6f6;
  z-index: -1;
  opacity: 0;
  overflow: auto;
  padding: 20px;
}

.products-wrapper .wpc-filters-widget-content.wpc-opened {
  opacity: 1;
  z-index: 20;
}

.products-wrapper
  .wpc-filters-widget-content.wpc-opened
  .wpc-widget-close-container {
  display: block;
  position: absolute;
  top: 0;
  right: 20px;
  width: auto;
}

.products-wrapper .wpc-widget-close-icon .wpc-icon-html-wrapper span {
  width: 30px;
  background: #9e9e9e;
}

.products-wrapper
  .wpc-widget-close-container
  .wpc-widget-close-icon
  span.wpc-icon-line-1,
.products-wrapper
  .wpc-widget-close-container
  .wpc-widget-close-icon
  span.wpc-icon-line-3 {
  height: 2px;
}

.products-wrapper
  .wpc-filters-widget-content.wpc-opened
  .wpc-widget-close-container
  .wpc-widget-popup-title {
  display: none;
}

.products-wrapper .wpc-filter-the_pipe_type .wpc-filters-ul-list,
.products-wrapper .wpc-filter-product-colors .wpc-filters-ul-list,
.products-wrapper .wpc-filter-set_time .wpc-filters-ul-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.products-wrapper .wpc-filter-pipe_diameter_s_40 .wpc-filters-ul-list,
.products-wrapper .wpc-filter-pipe_diameter_s_80 .wpc-filters-ul-list,
.products-wrapper .wpc-filter-nominal_pipe_size .wpc-filters-ul-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 6px;
}

.products-wrapper .wpc-filter-pipe_diameter_s_40 .wpc-filters-ul-list {
  max-height: 540px !important;
}

.products-wrapper .wpc-filter-pipe_diameter_s_40 .wpc-filters-ul-list li,
.products-wrapper .wpc-filter-pipe_diameter_s_80 .wpc-filters-ul-list li,
.products-wrapper .wpc-filter-nominal_pipe_size .wpc-filters-ul-list li {
  width: calc((100% / 2) - 6px) !important;
}

.modal-opened {
  overflow: hidden;
}

.products-wrapper .wpc-filter-pipe_diameter_s_40,
.products-wrapper .wpc-filter-pipe_diameter_s_80,
.products-wrapper .wpc-filter-pipe_diameter_cts,
.products-wrapper .wpc-filter-specialty_products,
.products-wrapper .filter-set-time li:first-child {
  display: none;
}

.products-wrapper .wpc-filters-open-button-container {
  display: block;
}

.product-card .card-body img {
  max-height: 160px;
}

.product-legend {
  font-size: 14px;
}

.product-card.product-card--lite .keywords {
  margin-top: auto;
}

.card-title a,
.card-title a:visited {
  color: #2b2b2b;
  font-weight: 800;
  display: block;
  width: 100%;
}

.post-list,
.card {
  background: #ffffff;
}

.products-wrapper .wpc-filter-collapsible .wpc-filter-title .wpc-open-icon,
.products-wrapper
  .wpc-filter-collapsible.wpc-closed
  .wpc-filter-title
  .wpc-open-icon {
  border-width: 2px;
  border-color: #6c6c6c;
}

.products-wrapper
  .wpc-widget-close-container
  .wpc-widget-close-icon
  .wpc-icon-html-wrapper
  span {
  display: none;
}

.products-wrapper .wpc-widget-close-container {
  padding: 0;
}

.products-wrapper a.wpc-widget-close-icon {
  justify-content: center;
  margin-top: 6px;
}

.products-wrapper .wpc-icon-html-wrapper::after {
  content: '';
  background: url('data:image/svg+xml,<svg width="31" height="31" viewBox="0 0 31 31" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.907969 0.907969C2.11859 -0.302656 4.08141 -0.302656 5.29203 0.907969L15.5 11.1159L25.708 0.907969C26.9186 -0.302656 28.8814 -0.302656 30.092 0.907969C31.3027 2.11859 31.3027 4.08141 30.092 5.29203L19.8841 15.5L30.092 25.708C31.3027 26.9186 31.3027 28.8814 30.092 30.092C28.8814 31.3027 26.9186 31.3027 25.708 30.092L15.5 19.8841L5.29203 30.092C4.08141 31.3027 2.11859 31.3027 0.907969 30.092C-0.302656 28.8814 -0.302656 26.9186 0.907969 25.708L11.1159 15.5L0.907969 5.29203C-0.302656 4.08141 -0.302656 2.11859 0.907969 0.907969Z" fill="%239E9E9E"/></svg>')
    no-repeat;
  background-size: contain;
  display: block;
  height: 20px;
  width: 20px;
}

.go-to-top {
  padding: 5px 10px;
  background: #16427e;
  border: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  border-radius: 4px;
}

@media only screen and (max-width: 1023px) {
  .products-wrapper .wpc-filters-widget-controls-container {
    display: block;
    background: #f6f6f6;
    border-color: #dadada;
    bottom: -22px;
  }

  .products-wrapper .wpc-filters-widget-controls-wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  .products-wrapper
    .wpc-filters-widget-controls-container
    .wpc-filters-widget-controls-two {
    display: none;
  }

  .products-wrapper
    .wpc-filters-widget-controls-container
    .wpc-filters-widget-controls-one {
    width: 100%;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
  }

  .products-wrapper
    .wpc-filters-widget-controls-container
    .wpc-filters-apply-button {
    font-family: 'Inter', sans-serif;
    background-color: #005eb8 !important;
  }

  .products-wrapper .wpc-filter-collapsible.wpc-closed {
    border-bottom: 1px solid #dadada;
  }
}

@media only screen and (min-width: 1024px) {
  .banner {
    font-size: 32px;
  }

  .go-to-top {
    bottom: 30px;
  }

  .card-title {
    font-size: 24px;
  }

  .filter-sidebar {
    background: #f7f7f7;
    max-width: 423px;
  }

  .products-wrapper .wpc-filters-widget-content {
    position: initial;
    height: auto;
    opacity: 1;
    padding: 0;
    display: block !important;
  }

  .products-wrapper
    .wpc-filters-widget-content.wpc-opened
    .wpc-widget-close-container,
  .products-wrapper .wpc-filters-open-button-container {
    display: none;
  }

  .product-card:not(.product-card--lite) .attributes-grid {
    grid-template-rows: auto auto 1fr;
  }

  .description ul {
    padding-left: 16px;
  }

  .description p {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media only screen and (min-width: 1280px) {
  .product-card:not(.product-card--lite) .attributes-grid {
    grid-template-rows: auto auto 1fr;
  }

  .product-card:not(.product-card--lite) .keywords {
    margin-top: auto;
  }

  .description p {
    display: block;
    overflow: visible;
  }

  .products-wrapper {
    background: linear-gradient(90deg, #f7f7f7 20%, #ffffff 20%);
  }

  .products-wrapper > .container {
    max-width: 1920px;
  }
}

@media only screen and (min-width: 1400px) {
  .products-wrapper .product-column {
    max-width: 402px;
  }
}
