/* Sửa lỗi hiển thị cho trang sản phẩm */

/* Sửa lỗi ô vuông trắng đè lên bộ lọc giá */
.filter-card {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 16px;
  margin-bottom: 16px;
  overflow: visible;
  z-index: 1;
}

.filter-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.filter-header i {
  margin-right: 8px;
  color: #f26522;
}

/* Sửa lỗi thanh trượt bộ lọc giá */
.price-filter {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 5px 0;
  position: relative;
}

.range-slider {
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.slider {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  background: #e0e0e0;
  outline: none;
  border-radius: 5px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f26522;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f26522;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Cải thiện input nhập giá */
.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-inputs input {
  width: calc(50% - 10px);
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  color: #333;
}

.price-inputs input:focus {
  border-color: #f26522;
  outline: none;
  box-shadow: 0 0 0 2px rgba(242, 101, 34, 0.2);
}

/* Nút áp dụng lọc */
.btn-apply {
  background: #f26522;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-apply:hover {
  background: #e55511;
} 