
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

.cpf-mobile-toggle {
  display: none;
  background: #db0031;
  color: white;
  font-size: 22px;
  padding: 3px;
  cursor: pointer;
  text-align: center;
}

.cpf-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
      max-width: 80%;
    width: 80%;
    margin-top: 3%;margin-bottom: 5%;
}
.cpf-sortbar{text-align: right; margin-bottom: 17px;}
#cpf-sort-by{box-shadow: rgb(99 99 99 / 7%) 0px 2px 8px 0px; border: none; padding: 4px 15px;}

.cpf-sidebar {
  width: 25%;
  padding: 20px;
  background: #fff;
  border-right: 1px solid #eee;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.cpf-sidebar h3 {
      font-size: 17px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    line-height: 23px;
    text-transform: capitalize;
}

.cpf-sidebar ul {
  list-style: none;
  padding: 0 !important;
}

.cpf-sidebar ul li {
  margin: 8px 0; list-style-type: none;
}

.cpf-sidebar input[type="checkbox"] {
  margin-right: 8px;
}

.cpf-slider-wrap {
  margin: 20px 0;
}

.cpf-slider {
  margin-top: 10px;
}

.cpf-slider-value {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

#cpf-reset {
  margin-top: 20px;
  padding: 10px 20px;
  background: #db0031;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
}

#cpf-reset:hover {
  background: #c0392b;
}

.cpf-products {
  width: 75%;padding: 0px 20px;
}

.cpf-product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.cpf-product-card {
  width: calc(33.333% - 16px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cpf-product-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.cpf-product-card img {
  max-width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
}

.cpf-product-card h4 {
  font-size: 15px;
  margin: 10px 0 4px;
  padding: 0 10px;
  color: #333; text-transform: capitalize;
}

.cpf-product-card p {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
  padding: 0 10px;
}
.cpf-product-card p a{color: #db0031;font-size: 12px;}

.cpf-pagination {
  margin-top: 30px;
  text-align: center;
}

.cpf-pagination button {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 14px;
  margin: 0 4px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cpf-pagination button:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.noUi-connect{background: #db0031 !important;}
.noUi-horizontal{height: 6px !important;}
.noUi-horizontal .noUi-handle{width: 18px !important;height: 18px !important;  background: #db0031 !important;border-radius: 32px !important;}
.noUi-handle{border: none !important;box-shadow: none !important;}
.noUi-handle:after, .noUi-handle:before{display: none !important;}
.cpf-slider-wrap{padding-top: 27px; width: 90%; padding-left: 10px;}
.noUi-tooltip{border: none;     padding: 0px;     font-size: 12px;}
.noUi-tooltip{padding: 0px 4px !important;}

@media (max-width: 768px) {
  .cpf-mobile-toggle {
    display: block;
  }

  .cpf-sidebar {
    width: 100%;
    display: none;
  }

  .cpf-sidebar.open {
    display: block;
  }

  .cpf-products {
    width: 100%;
  }

  .cpf-product-card {
    width: 100%;
  }
  .cpf-container{max-width: 100%; width: 100%;}
  .cpf-product-grid{gap: 8px;}
  .cpf-product-card{width: 48%;}
  
}
