/* Homepage Product Filters Styles */
.hpf-filter-wrapper {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e1e1;
}

.hpf-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
}

.hpf-filter-col {
  flex: 1;
  min-width: 200px;
}

.hpf-filter-submit-col {
  flex: 0 0 auto;
  align-self: center;
}

.hpf-filter-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hpf-filter-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  color: #495057;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px;
}

.hpf-filter-select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.hpf-filter-select:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

.hpf-filter-submit {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: 46px;
}

.hpf-filter-submit:hover {
  background: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hpf-filter-submit:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hpf-loading {
  text-align: center;
  padding: 10px;
  color: #7f8c8d;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hpf-filter-col {
    min-width: 100%;
  }

  .hpf-filter-row {
    gap: 15px;
  }

  .hpf-filter-submit {
    width: 100%;
    margin-top: 10px;
  }
}

/* Match smartparts.lt theme */
.hpf-filter-wrapper {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
}

.hpf-filter-submit {
  background: #dc3545;
}

.hpf-filter-submit:hover {
  background: #c82333;
}
