.split-screen {
  display: flex;
  gap: 20px;
}

.split-screen .filters-section {
  flex: 3;
  padding: 15px;
  border-radius: 6px;
  border: 1.2px solid var(--divider);
}

.split-screen .filters-section .filter-item {
  margin: 12px 0;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
}

.split-screen .filters-section .filter-item:hover {
  color: var(--primary-hover-color);
}

.split-screen .filters-section .filter-item .checkbox {
  border: 1px solid var(--divider);
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-inline-end: 8px;
  position: relative;
}

.split-screen .filters-section .filter-item.active :where(.checkbox, span) {
  border-color: var(--success-color);
  color: var(--success-color);
}

.split-screen .filters-section .filter-item .checkbox img {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -8px;
  left: -3px;
}

.split-screen .products-wrapper {
  flex: 10;
}

.split-screen .products-wrapper .products-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

/*  */
.split-screen .filters-section input {
  border: none;
}

.price-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.price-input .field {
  display: flex;
  width: 45%;
  height: 45px;
  align-items: center;
}

.field input {
  width: 100%;
  height: 100%;
  border: 1px solid var(--divider);
  border-radius: 0.5rem;
  outline: none;
  padding: 0 1rem;
  font-size: 1rem;
}

.field span {
  font-size: 1rem;
  margin-right: 0.5rem;
  color: #4a5568;
}

.separator {
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #718096;
}

.slider {
  height: 5px;
  border-radius: 5px;
  background: #ddd;
  position: relative;
}

.slider .progress {
  height: 5px;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 5px;
  background: var(--primary-color);
}

.range-input {
  position: relative;
  margin-top: 1rem;
}

.range-input input {
  position: absolute;
  top: -5px;
  height: 5px;
  width: 100%;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
}

input[type='range']::-webkit-slider-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

input[type='range']::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  pointer-events: auto;
  -moz-appearance: none;
  border: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.apply-btn {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.apply-btn:hover {
  background-color: var(--primary-hover-color);
}

/*  */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 5px;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.pagination-btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-btn.ellipsis {
  background-color: transparent;
  border: none;
  cursor: default;
}

.prev-btn,
.next-btn {
  font-weight: bold;
}

/* Optional: For disabled state */
.pagination-btn:disabled,
.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
